Diff for /loncom/build/make_rpm.pl between versions 1.7 and 1.11

version 1.7, 2001/01/08 17:57:06 version 1.11, 2001/05/16 19:30:05
Line 4 Line 4
 # Automatically generate RPM listing files  # Automatically generate RPM listing files
 # from file listing.  # 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 does actually "build" the RPM.
   
 # This script also generates and then deletes temporary  # This script also generates and then deletes temporary
Line 71  open (RPMRC,">$tag/SPECS/rpmrc"); Line 68  open (RPMRC,">$tag/SPECS/rpmrc");
 foreach $line (@lines) {  foreach $line (@lines) {
     if ($line=~/^macrofiles/) {      if ($line=~/^macrofiles/) {
  chop $line;   chop $line;
  $line.=":./rpmmacros\n";   $line.=":$currentdir/SPECS/rpmmacros\n";
     }      }
     print RPMRC $line;      print RPMRC $line;
 }  }
Line 92  close RPMMACROS; Line 89  close RPMMACROS;
 my $requires="";  my $requires="";
 if ($tag eq "setup") {  if ($tag eq "setup") {
     $requires=<<END;      $requires=<<END;
 Requires: setup  PreReq: setup
   PreReq: passwd
   PreReq: util-linux
 END  END
 }  }
 elsif ($tag eq "base") {  elsif ($tag eq "base") {
     $requires=<<END;      $requires=<<END;
 Requires: LON-CAPA-base  PreReq: LON-CAPA-setup
 Requires: LON-CAPA-krb4  PreReq: apache
 Requires: LON-CAPA-mysql  PreReq: /etc/httpd/conf/access.conf
 Requires: LON-CAPA-systemperl  END
       $requires2=<<END;
   Requires: LON-CAPA-setup
 Requires: raidtools  Requires: raidtools
 Requires: ncurses  Requires: ncurses
 Requires: popt  Requires: popt
Line 251  Version: $version Line 252  Version: $version
 Release: 1  Release: 1
 Vendor: Laboratory for Instructional Technology Education, Division of Science and Mathematics Education, Michigan State University.  Vendor: Laboratory for Instructional Technology Education, Division of Science and Mathematics Education, Michigan State University.
 BuildRoot: $currentdir/BuildRoot  BuildRoot: $currentdir/BuildRoot
 Copyright: GNU General Public License. Version 2, June 1991.  Michigan State University patents may apply.  Copyright: Michigan State University patents may apply.
 Group: Utilities/System  Group: Utilities/System
 Source: LON-CAPA-$tag-$version.tar.gz  Source: LON-CAPA-$tag-$version.tar.gz
 AutoReqProv: no  AutoReqProv: no
Line 281  echo "http://www.lon-capa.org/" Line 282  echo "http://www.lon-capa.org/"
 echo "Gerd Kortemeyer, et al"  echo "Gerd Kortemeyer, et al"
 echo "Laboratory for Instructional Technology Education"  echo "Laboratory for Instructional Technology Education"
 echo "Michigan State University"  echo "Michigan State University"
 echo "General Public License, Version 2, June 1991"  echo " "
 echo "** Michigan State University patents may apply **"  echo "** Michigan State University patents may apply **"
 echo " "  echo " "
 echo "This installation assumes an installation of Redhat 6.2"  echo "This installation assumes an installation of Redhat 6.2"

Removed from v.1.7  
changed lines
  Added in v.1.11


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>