Changeset 1991
- Timestamp:
- 12/13/07 15:13:33 (5 months ago)
- Files:
-
- swish_website/bin/swish-daily.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
swish_website/bin/swish-daily.pl
r1985 r1991 185 185 # if we're in --timestamp mode, then we need to make sure that the tarball 186 186 # unpacks into EG: swish-e-2.5.6, and not swish-e-2.5.6-2007-12-12 187 if ($c onfig{timestamp}) {187 if ($c->{timestamp}) { 188 188 189 189 my $origspecversion = $specversion; … … 212 212 213 213 # also, if in timestamp mode, change the specrelease to be YYYYMMDD 214 if ($c onfig{timestamp}) {214 if ($c->{timestamp}) { 215 215 chomp(my $specrelease = `date '+%Y%m%d'`); # normally this is a 1-2 digits 216 216 _apply_regexes( "$rpmbuilddir/SPECS/swish-e.spec", … … 222 222 run_command( "rpmbuild --rcfile=$rpmrcfile -bs $rpmbuilddir/SPECS/swish-e.spec" ); 223 223 224 log_message( "new .src.rpm build in $rpmbuilddir/SRPMS" ); 225 226 # now move the .src.rpm to the tardir 224 # now move the .src.rpm to the tardir 227 225 run_command( "mv $rpmbuilddir/SRPMS/swish-e-*.src.rpm $c->{tardir}" ); 226 227 # log that it's there 228 log_message( "new .src.rpm in $c->{tardir}" ); 228 229 } 229 230
