forked from pool/libdb-4_8
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
This commit is contained in:
parent
c7c60e0fdb
commit
50bce71ec3
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user