STABLE14-redhat-packaging-updates-20071018

make the buildall script know centos and new fedora; make the spec file include it


(cherry picked from commit bc1cc5a65b)
This commit is contained in:
Derrick Brashear 2007-10-18 05:07:13 +00:00
parent bc85d53852
commit f052583ddb
2 changed files with 8 additions and 0 deletions

View File

@ -21,10 +21,17 @@ buildopts=
if [ `echo $rhrel | grep -c 'Fedora Core'` = 1 ] ; then
ostype='fc'
osrel=`echo $rhrel | sed -e 's/^.*release \([^ ]*\).*$/\1/' -e 's/\.//g'`
elif [ `echo $rhrel | grep -c 'Fedora'` = 1 ] ; then
ostype='fc'
osrel=`echo $rhrel | sed -e 's/^.*release \([^ ]*\).*$/\1/' -e 's/\.//g'`
elif [ `echo $rhrel | grep -c 'Red Hat Enterprise Linux'` = 1 ] ; then
ostype='rhel'
excludearch=i586
osrel=`echo $rhrel | sed -e 's/^.*release \([^ ]*\).*$/\1/' -e 's/\.//g'`
elif [ `echo $rhrel | grep -c 'CentOS'` = 1 ] ; then
ostype='rhel'
excludearch=i586
osrel=`echo $rhrel | sed -e 's/^.*release \([^ ]*\).*$/\1/' -e 's/\.//g'`
elif [ `echo $rhrel | grep -c 'Red Hat Linux'` = 1 ] ; then
ostype='rh'
osrel=`echo $rhrel | sed -e 's/^.*release \([^ ]*\).*$/\1/' -e 's/\.//g'`

View File

@ -244,6 +244,7 @@ Source10: http://www.openafs.org/dl/openafs/%{afsvers}/RELNOTES-%{afsvers}
Source11: http://www.openafs.org/dl/openafs/%{afsvers}/ChangeLog
Source30: openafs-kernel-version.sh
Source998: openafs-buildall.sh
Source999: kmodtool
Patch0: openafs-1.4.0-kmodule26.patch