Changeset 781 in MondoRescue for branches/stable/tools
- Timestamp:
- Aug 12, 2006, 11:31:16 AM (19 years ago)
- Location:
- branches/stable/tools
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/tools/build2pkg
r765 r781 63 63 ar=$ARCH 64 64 fi 65 pkg1="${TOPBUILDDIR}/RPMS/${ar}/$pv ${suf}.${ar}.rpm"65 pkg1="${TOPBUILDDIR}/RPMS/${ar}/$pv-${TAG}${suf}.${ar}.rpm" 66 66 #rm -f $pkg1 67 67 … … 72 72 if [ "$dfam" = "mandriva" ] || [ "$dfam" = "suse" ]; then 73 73 echo "Using bzip2 files ($dfam)" 74 ln -sf $ pv.tar.bz2 SOURCES/74 ln -sf ${TOPDIR}/${VER}-$TAG/$pv.tar.bz2 SOURCES/ 75 75 else 76 76 echo "Using gzip files ($dfam)" -
branches/stable/tools/mkchangelog.pl
r774 r781 58 58 } 59 59 } 60 print "Using $chglog as input ChangeLog file for $pkg\n";60 #print "Using $chglog as input ChangeLog file for $pkg\n"; 61 61 62 62 open(INPUT,"$chglog") || die "Unable to open $chglog (read)"; 63 63 open(OUTPUT,"> $outfile") || die "Unable to open $outfile (write)"; 64 open(TAG, "$ENV{TOPDIR}/LAST") || die "Unable to open $ENV{TOPDIR}/LAST";65 64 66 $tmp = <TAG>;67 chomp($tmp);68 my ($tmp2, $tag) = split(/-/, $tmp);69 65 # Skip first 4 lines 70 66 $tmp = <INPUT>; … … 78 74 print OUTPUT $tmp; 79 75 } 76 77 my $first=1; 80 78 81 79 # Handle each block separated by newline … … 91 89 if ($dtype eq "rpm") { 92 90 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 } 94 97 } else { 95 $ver2 = $ver;98 $ver2 = "$ver"."$ENV{suf}"; 96 99 } 97 100 print OUTPUT "* $ndate Bruno Cornec <bruno\@mondorescue.org> $ver2\n"; -
branches/stable/tools/mknewshtml.pl
r660 r781 115 115 close(NEWS); 116 116 117 my $cpt = 3;117 my $cpt = 4; 118 118 open(NEWS,"> $lastnews") || die "Unable to open $lastnews (write)"; 119 119 $all = $dbh->selectall_arrayref("SELECT id,date,announce FROM announces ORDER BY date DESC"); -
branches/stable/tools/svn2build
r763 r781 37 37 for p in $c; do 38 38 v=`cat ${SVNBRANCH}/$p/VERSION` 39 echo "Management of $p $v-$ REVISION"39 echo "Management of $p $v-$TAG (rev $REVISION)" 40 40 dest="$p-$v" 41 41 rm -fr $dest … … 136 136 137 137 # Finally creates the tar files 138 echo "Creating $p tar files"138 echo -n "Creating $p tar files (gzip... " 139 139 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 " )" 141 143 done 142 144
Note:
See TracChangeset
for help on using the changeset viewer.