1
0

Accepting request 109943 from Base:System

Update to Linux 3.3 kernel headers (forwarded request 109942 from a_jaeger)

OBS-URL: https://build.opensuse.org/request/show/109943
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/linux-glibc-devel?expand=0&rev=24
This commit is contained in:
Stephan Kulow 2012-03-20 11:04:51 +00:00 committed by Git OBS Bridge
commit 86cbbe9bc1
4 changed files with 32 additions and 20 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ba23fdc5e7b74eae28d8c6996bb2287f46dec432ab467425034e78b398a6e55c
size 802878

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:344067d9ea2a10b8e4f014d506010a21e7f4d52885a462a25575dbd4565c2b5c
size 810407

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Mon Mar 19 12:24:26 UTC 2012 - aj@suse.de
- Update to Linux 3.3 headers.
-------------------------------------------------------------------
Fri Mar 16 08:28:51 UTC 2012 - aj@suse.de
- Update version.h text (bnc#751668).
-------------------------------------------------------------------
Thu Jan 5 15:15:12 CET 2012 - dmueller@suse.de

View File

@ -15,6 +15,7 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
BuildRequires: fdupes
Name: linux-glibc-devel
@ -24,13 +25,13 @@ Group: Development/Libraries/C and C++
BuildArch: noarch
# this confusing version number has no meaning, it's the version
# of the Linux kernel where these headers come from
Version: 3.2.0
Version: 3.3.0
Release: 0
# A "-" is not allowed in version
%define upstream_version 3.2
%define upstream_version 3.3
Url: http://www.kernel.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Provides: kernel-headers
Provides: kernel-headers
Provides: linux-kernel-headers = %{version}
Obsoletes: linux-kernel-headers < %{version}
PreReq: coreutils
@ -66,25 +67,26 @@ cat > version.h <<-BOGUS
#error "programs should not directly include <linux/*.h> or"
#error "<asm/*.h> as well."
#error ""
#error "To build kernel modules please do the following:"
#error "Since Linux 2.6, the kernel module build process has been"
#error "updated such that users building modules should not typically"
#error "need to specify additional include directories at all."
#error ""
#error " o Have the kernel sources installed"
#error "To build kernel modules, ensure you have the build environment "
#error "available either via the kernel-devel and kernel-<flavor>-devel "
#error "packages or a properly configured kernel source tree."
#error ""
#error " o Make sure that the symbolic link"
#error " /lib/modules/\`uname -r\`/build exists and points to"
#error " the matching kernel source directory"
#error "Then, modules can be built using:"
#error "make -C <path> M=$PWD"
#error ""
#error " o When compiling, make sure to use the following"
#error " compiler option to use the correct include files:"
#error "For the currently running kernel there will be a symbolic "
#error "link pointing to the build environment located at "
#error "/lib/modules/$(uname -r)/build for use as <path>."
#error ""
#error " -I/lib/modules/\`uname -r\`/build/include"
#error "If you are seeing this message, your environment is "
#error "not configured properly. "
#error ""
#error " instead of"
#error ""
#error " -I/usr/include/linux"
#error ""
#error " Please adjust the Makefile accordingly."
#error "======================================================="
#error "Please adjust the Makefile accordingly."
#error "=======================================================
#else
BOGUS
# Get LINUX_VERSION_CODE and KERNEL_VERSION directly from kernel