Changeset 540 in ProjectBuilder for devel/pb/bin
- Timestamp:
- Sep 15, 2008, 1:11:19 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb/bin/pb
r539 r540 541 541 $pb{'rev'} = $pbrev; 542 542 $pb{'ver'} = $pbver; 543 $pb{'pkg'} = $pbpkg; 543 544 $pb{'date'} = $pbdate; 544 545 $pb{'defpkgdir'} = $defpkgdir; … … 560 561 561 562 # We need to compute the real name of the package 562 my $pb pkgreal= pb_cms_get_real_pkg($pbpkg,$pb{'dtype'});563 $pb{' pkg'} = $pbpkgreal;563 my $pbrealpkg = pb_cms_get_real_pkg($pbpkg,$pb{'dtype'}); 564 $pb{'realpkg'} = $pbrealpkg; 564 565 565 566 # Filter build files from the less precise up to the most with overloading … … 783 784 } 784 785 } 785 $made="$made RPMS/*/$pbpkg-$pbver-$pbtag$pbsuf.*.rpm SRPMS/$pbpkg-$pbver-$pbtag$pbsuf.src.rpm"; 786 # Get the name of the generated packages 787 open(LOG,"$ENV{'PBTMP'}/system.log") || die "Unable to open $ENV{'PBTMP'}/system.log"; 788 while (<LOG>) { 789 chomp(); 790 next if ($_ !~ /^Wrote:/); 791 s|.*/([S]*RPMS.*)|$1|; 792 $made="$made $_"; 793 } 794 786 795 if (-f "/usr/bin/rpmlint") { 787 796 pb_system("rpmlint $made","Checking validity of rpms with rpmlint","verbose");
Note:
See TracChangeset
for help on using the changeset viewer.