Accepting request 141638 from devel:libraries:c_c++

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

OBS-URL: https://build.opensuse.org/request/show/141638
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libdb-4_8?expand=0&rev=15
This commit is contained in:
Stephan Kulow
2012-11-20 09:37:53 +00:00
committed by Git OBS Bridge
3 changed files with 10 additions and 1 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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}