Changeset 781 in MondoRescue for branches/stable/tools


Ignore:
Timestamp:
Aug 12, 2006, 11:31:16 AM (19 years ago)
Author:
Bruno Cornec
Message:
  • Gentoo build now correct
  • 4 articles kept on frontpage
  • New announces made
  • Build process optimized agin and again :-)
Location:
branches/stable/tools
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/tools/build2pkg

    r765 r781  
    6363            ar=$ARCH
    6464        fi
    65         pkg1="${TOPBUILDDIR}/RPMS/${ar}/$pv${suf}.${ar}.rpm"
     65        pkg1="${TOPBUILDDIR}/RPMS/${ar}/$pv-${TAG}${suf}.${ar}.rpm"
    6666        #rm -f $pkg1
    6767
     
    7272        if [ "$dfam" = "mandriva" ] || [ "$dfam" = "suse" ]; then
    7373            echo "Using bzip2 files ($dfam)"
    74             ln -sf $pv.tar.bz2 SOURCES/
     74            ln -sf ${TOPDIR}/${VER}-$TAG/$pv.tar.bz2 SOURCES/
    7575        else
    7676            echo "Using gzip files ($dfam)"
  • branches/stable/tools/mkchangelog.pl

    r774 r781  
    5858    }
    5959}
    60 print "Using $chglog as input ChangeLog file for $pkg\n";
     60#print "Using $chglog as input ChangeLog file for $pkg\n";
    6161
    6262open(INPUT,"$chglog") || die "Unable to open $chglog (read)";
    6363open(OUTPUT,"> $outfile") || die "Unable to open $outfile (write)";
    64 open(TAG, "$ENV{TOPDIR}/LAST") || die "Unable to open $ENV{TOPDIR}/LAST";
    6564
    66 $tmp = <TAG>;
    67 chomp($tmp);
    68 my ($tmp2, $tag) = split(/-/, $tmp);
    6965# Skip first 4 lines
    7066$tmp = <INPUT>;
     
    7874    print OUTPUT $tmp;
    7975}
     76
     77my $first=1;
    8078
    8179# Handle each block separated by newline
     
    9189    if ($dtype eq "rpm") {
    9290        if ($ver !~ /-/) {
    93             $ver2 = "$ver-$tag";
     91            if ($first eq 1) {
     92                $ver2 = "$ver-$ENV{TAG}"."$ENV{suf}";
     93                $first=0;
     94            } else {
     95                $ver2 = "$ver-1"."$ENV{suf}";
     96            }
    9497        } else {
    95             $ver2 = $ver;
     98            $ver2 = "$ver"."$ENV{suf}";
    9699        }
    97100        print OUTPUT "* $ndate Bruno Cornec <bruno\@mondorescue.org> $ver2\n";
  • branches/stable/tools/mknewshtml.pl

    r660 r781  
    115115close(NEWS);
    116116
    117 my $cpt = 3;
     117my $cpt = 4;
    118118open(NEWS,"> $lastnews") || die "Unable to open $lastnews (write)";
    119119$all = $dbh->selectall_arrayref("SELECT id,date,announce FROM announces ORDER BY date DESC");
  • branches/stable/tools/svn2build

    r763 r781  
    3737for p in $c; do
    3838    v=`cat ${SVNBRANCH}/$p/VERSION`
    39     echo "Management of $p $v-$REVISION"
     39    echo "Management of $p $v-$TAG (rev $REVISION)"
    4040    dest="$p-$v"
    4141    rm -fr $dest
     
    136136
    137137    # Finally creates the tar files
    138     echo "Creating $p tar files"
     138    echo -n "Creating $p tar files (gzip... "
    139139    tar cfphz ${DEST}/$p-$v.tar.gz $dest
    140     tar cfphj ${DEST}/$p-$v-$TAG.tar.bz2 $dest
     140    echo -n " bzip2..."
     141    tar cfphj ${DEST}/$p-$v.tar.bz2 $dest
     142    echo " )"
    141143done
    142144
Note: See TracChangeset for help on using the changeset viewer.