1
0
forked from pool/openldap2

Accepting request 141857 from network:ldap

- fix check-build.sh for kernel > 3.0 (forwarded request 141630 from oertel)

OBS-URL: https://build.opensuse.org/request/show/141857
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openldap2?expand=0&rev=93
This commit is contained in:
Stephan Kulow 2012-11-20 09:40:57 +00:00 committed by Git OBS Bridge
commit 348092eafb
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