SHA256
1
0
forked from pool/emacs

Accepting request 93485 from editors

- Avoid SLES10 systems using kernel 2.6.16

OBS-URL: https://build.opensuse.org/request/show/93485
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/emacs?expand=0&rev=72
This commit is contained in:
Stephan Kulow 2011-11-25 10:11:51 +00:00 committed by Git OBS Bridge
commit c2f19fc80b
2 changed files with 26 additions and 0 deletions

21
check-build.sh Normal file
View File

@ -0,0 +1,21 @@
#!/bin/bash
#
# Avoid SLES10 systems using kernel 2.6.16
#
case "$(uname -i)" in
*ppc*)
read -t 10 name dummy version rest < /proc/version
if test -z "$version" ; then
echo "FATAL: can not read /proc/version" 1>&2
exit 1
fi
OIFS="$IFS"
IFS='.-'
version=($version)
IFS="$OIFS"
if test ${version[0]} -lt 2 -o ${version[1]} -lt 6 -o ${version[2]} -lt 32 ; then
echo "FATAL: kernel too old, need kernel >= 2.6.32 for this package" 1>&2
exit 1
fi
esac

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Nov 24 14:01:22 UTC 2011 - werner@suse.de
- Avoid SLES10 systems using kernel 2.6.16
-------------------------------------------------------------------
Tue Nov 22 14:40:45 UTC 2011 - werner@suse.de