1
0
forked from pool/openldap2

Accepting request 141630 from home:oertel:branches:network:ldap

- fix check-build.sh for kernel > 3.0

OBS-URL: https://build.opensuse.org/request/show/141630
OBS-URL: https://build.opensuse.org/package/show/network:ldap/openldap2?expand=0&rev=96
This commit is contained in:
Ralf Haferkamp 2012-11-19 08:24:31 +00:00 committed by Git OBS Bridge
parent 4adbab646b
commit fa1ec2e1a7
2 changed files with 8 additions and 1 deletions

View File

@ -3,7 +3,9 @@
# get kernel version # get kernel version
OFS="$IFS" ; IFS=".-" ; version=(`uname -r`) ; IFS="$OIFS" OFS="$IFS" ; IFS=".-" ; version=(`uname -r`) ; IFS="$OIFS"
if test ${version[0]} -lt 2 -o ${version[1]} -lt 6 -o ${version[2]} -lt 11 ; then if test ${version[0]} -gt 2 ; then
: # okay
elif test ${version[0]} -lt 2 -o ${version[1]} -lt 6 -o ${version[2]} -lt 11 ; then
echo "FATAL: kernel too old, need kernel >= 2.6.11 for this package" 1>&2 echo "FATAL: kernel too old, need kernel >= 2.6.11 for this package" 1>&2
exit 1 exit 1
fi fi

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Nov 17 12:06:23 CET 2012 - ro@suse.de
- fix check-build.sh for kernel > 3.0
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Nov 16 09:52:42 UTC 2012 - rhafer@suse.com Fri Nov 16 09:52:42 UTC 2012 - rhafer@suse.com