--- loncom/build/make_rpm.pl 2001/01/08 17:57:06 1.7 +++ 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; } @@ -92,15 +89,19 @@ close RPMMACROS; my $requires=""; if ($tag eq "setup") { $requires=<