--- loncom/build/make_rpm.pl 2002/01/09 02:24:14 1.13 +++ loncom/build/make_rpm.pl 2002/01/09 22:16:14 1.14 @@ -3,7 +3,7 @@ # The LearningOnline Network with CAPA # make_rpm.pl - make RedHat package manager file (A CLEAN AND CONFIGURABLE WAY) # -# $Id: make_rpm.pl,v 1.13 2002/01/09 02:24:14 harris41 Exp $ +# $Id: make_rpm.pl,v 1.14 2002/01/09 22:16:14 harris41 Exp $ # # Written by Scott Harrison, harris41@msu.edu # @@ -32,7 +32,7 @@ # YEAR=2001 # 1/8,1/10,1/13,1/23,5/16 - Scott Harrison # YEAR=2002 -# 1/4,1/8 - Scott Harrison +# 1/4,1/8,1/9 - Scott Harrison # ### @@ -210,6 +210,10 @@ my $summary="Files for the $name softwar $tv=grabtag('summary',$cu,1); $summary=$tv if $tv; $summary=~s/\/$tag/g; +my $autoreqprov='no'; +# read in autoreqprov from customization if available +$tv=grabtag('autoreqprov',$cu,1); $autoreqprov=$tv if $tv; + my $copyright="not specified here"; # read in copyright from customization if available $tv=grabtag('copyright',$cu,1); $copyright=$tv if $tv; @@ -244,7 +248,7 @@ BuildRoot: $currentdir/BuildRoot Copyright: $copyright Group: Utilities/System Source: $name-$version.tar.gz -AutoReqProv: no +AutoReqProv: $autoreqprov $requires # requires: filesystem \%description