From 50bce71ec3d804c9da07b85874eb4a4217f9a24d9b363adc2d350e066ab02406 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristian=20Rodr=C3=ADguez?= Date: Sat, 17 Nov 2012 15:39:03 +0000 Subject: [PATCH] Accepting request 141627 from home:oertel:branches:devel:libraries:c_c++ - fix check-build.sh for kernel > 3.0 OBS-URL: https://build.opensuse.org/request/show/141627 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libdb-4_8?expand=0&rev=23 --- check-build.sh | 5 ++++- libdb-4_8.changes | 5 +++++ libdb_java-4_8.spec | 1 + 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/check-build.sh b/check-build.sh index 96913b3..23ccc76 100644 --- a/check-build.sh +++ b/check-build.sh @@ -4,7 +4,10 @@ # 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 4 ; then +echo "version = ${version[0]} ${version[1]} ${version[2]}" +if test ${version[0]} -gt 2 ; then + : # okay +elif test ${version[0]} -lt 2 -o ${version[1]} -lt 6 -o ${version[2]} -lt 4 ; then echo "FATAL: kernel too old, need kernel >= 2.6.4 for this package" 1>&2 exit 1 fi diff --git a/libdb-4_8.changes b/libdb-4_8.changes index e94dc96..c1559f5 100644 --- a/libdb-4_8.changes +++ b/libdb-4_8.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Nov 17 12:01:29 CET 2012 - ro@suse.de + +- fix check-build.sh for kernel > 3.0 + ------------------------------------------------------------------- Mon Jan 9 12:08:10 UTC 2012 - aj@suse.de diff --git a/libdb_java-4_8.spec b/libdb_java-4_8.spec index 9f19df8..959f74f 100644 --- a/libdb_java-4_8.spec +++ b/libdb_java-4_8.spec @@ -47,6 +47,7 @@ the Java support of db and dbxml. %package devel Summary: Java Bindings for the Berkeley DB +Group: Productivity/Databases/Servers Requires: %{name} = %{version} Requires: glibc-devel Provides: db-java-devel = %{version}