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:
parent
4adbab646b
commit
fa1ec2e1a7
@ -3,7 +3,9 @@
|
||||
|
||||
# get kernel version
|
||||
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
|
||||
exit 1
|
||||
fi
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user