Diff for /loncom/build/make_rpm.pl between versions 1.1 and 1.3

version 1.1, 2000/10/02 14:07:53 version 1.3, 2000/12/11 19:03:01
Line 7 Line 7
 # GNU General Public License, Version 2, June 1991  # GNU General Public License, Version 2, June 1991
 # See http://www.gnu.org/copyleft/gpl.html.  # See http://www.gnu.org/copyleft/gpl.html.
   
 # This file currently does not actually "build" the RPM.  # This script does actually "build" the RPM.
 # This has to be done with an RPM build environment and  
 # commands like 'rpm -ba'.  
   
 # What this file DOES do is generate all the needed  # This script also generates and then deletes temporary
 # files (and binary root directory tree) to build an RPM with.  # files (and binary root directory tree) to build an RPM with.
   
 # I still need to implement the CONFIGURATION_FILES and  # I still need to implement the CONFIGURATION_FILES and
Line 20 Line 18
   
 # Take in a file list (from standard input),   # Take in a file list (from standard input), 
 # a description tag and version tag from command line argument  # a description tag and version tag from command line argument
 # and generate a:  # and temporarily generate a:
 #      RPM .spec file  #      RPM .spec file
 #      RPM Makefile  #      RPM Makefile
 #      SourceRoot  #      SourceRoot
   
   # A resulting .rpm file is generated.
   
 unless (-e "/usr/lib/rpm/rpmrc") {  unless (-e "/usr/lib/rpm/rpmrc") {
     print <<END;      print <<END;
 ERROR: This script only works with a properly installed RPM builder application.    ERROR: This script only works with a properly installed RPM builder application.  
Line 35  END Line 35  END
   
 my ($tag,$version,$configuration_files,$documentation_files,$pathprefix)=@ARGV;  my ($tag,$version,$configuration_files,$documentation_files,$pathprefix)=@ARGV;
 @ARGV=();  @ARGV=();
   
 if (!$version) {  if (!$version) {
     print "Usage: <TAG> <VERSION> [CONFIGURATION_FILES] [DOCUMENTATION] [PATHPREFIX]\n";      print "Usage: <TAG> <VERSION> [CONFIGURATION_FILES] [DOCUMENTATION] [PATHPREFIX]\n";
     print "Standard input provides the list of files to work with.\n";      print "Standard input provides the list of files to work with.\n";

Removed from v.1.1  
changed lines
  Added in v.1.3


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