--- loncom/build/make_rpm.pl 2000/12/12 16:55:16 1.5 +++ loncom/build/make_rpm.pl 2001/05/16 19:30:05 1.11 @@ -4,9 +4,6 @@ # Automatically generate RPM listing files # from file listing. -# GNU General Public License, Version 2, June 1991 -# See http://www.gnu.org/copyleft/gpl.html. - # This script does actually "build" the RPM. # This script also generates and then deletes temporary @@ -71,7 +68,7 @@ open (RPMRC,">$tag/SPECS/rpmrc"); foreach $line (@lines) { if ($line=~/^macrofiles/) { chop $line; - $line.=":./rpmmacros\n"; + $line.=":$currentdir/SPECS/rpmmacros\n"; } print RPMRC $line; } @@ -87,6 +84,165 @@ print RPMMACROS <$tag/SPECS/LON-CAPA-$tag-$version.spec"); print SPEC <