diff --git a/check-build.sh b/check-build.sh index 0dcd4a0..d3f95d2 100644 --- a/check-build.sh +++ b/check-build.sh @@ -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 diff --git a/openldap2.changes b/openldap2.changes index cdb5cb8..9de4958 100644 --- a/openldap2.changes +++ b/openldap2.changes @@ -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