mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 23:10:58 +00:00
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:
parent
bc85d53852
commit
f052583ddb
@ -21,10 +21,17 @@ buildopts=
|
|||||||
if [ `echo $rhrel | grep -c 'Fedora Core'` = 1 ] ; then
|
if [ `echo $rhrel | grep -c 'Fedora Core'` = 1 ] ; then
|
||||||
ostype='fc'
|
ostype='fc'
|
||||||
osrel=`echo $rhrel | sed -e 's/^.*release \([^ ]*\).*$/\1/' -e 's/\.//g'`
|
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
|
elif [ `echo $rhrel | grep -c 'Red Hat Enterprise Linux'` = 1 ] ; then
|
||||||
ostype='rhel'
|
ostype='rhel'
|
||||||
excludearch=i586
|
excludearch=i586
|
||||||
osrel=`echo $rhrel | sed -e 's/^.*release \([^ ]*\).*$/\1/' -e 's/\.//g'`
|
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
|
elif [ `echo $rhrel | grep -c 'Red Hat Linux'` = 1 ] ; then
|
||||||
ostype='rh'
|
ostype='rh'
|
||||||
osrel=`echo $rhrel | sed -e 's/^.*release \([^ ]*\).*$/\1/' -e 's/\.//g'`
|
osrel=`echo $rhrel | sed -e 's/^.*release \([^ ]*\).*$/\1/' -e 's/\.//g'`
|
||||||
|
@ -244,6 +244,7 @@ Source10: http://www.openafs.org/dl/openafs/%{afsvers}/RELNOTES-%{afsvers}
|
|||||||
Source11: http://www.openafs.org/dl/openafs/%{afsvers}/ChangeLog
|
Source11: http://www.openafs.org/dl/openafs/%{afsvers}/ChangeLog
|
||||||
|
|
||||||
Source30: openafs-kernel-version.sh
|
Source30: openafs-kernel-version.sh
|
||||||
|
Source998: openafs-buildall.sh
|
||||||
Source999: kmodtool
|
Source999: kmodtool
|
||||||
|
|
||||||
Patch0: openafs-1.4.0-kmodule26.patch
|
Patch0: openafs-1.4.0-kmodule26.patch
|
||||||
|
Loading…
Reference in New Issue
Block a user