diff --git a/linux-glibc-devel-3.2.tar.bz2 b/linux-glibc-devel-3.2.tar.bz2 deleted file mode 100644 index 430b3a7..0000000 --- a/linux-glibc-devel-3.2.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ba23fdc5e7b74eae28d8c6996bb2287f46dec432ab467425034e78b398a6e55c -size 802878 diff --git a/linux-glibc-devel-3.3.tar.bz2 b/linux-glibc-devel-3.3.tar.bz2 new file mode 100644 index 0000000..84c7288 --- /dev/null +++ b/linux-glibc-devel-3.3.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:344067d9ea2a10b8e4f014d506010a21e7f4d52885a462a25575dbd4565c2b5c +size 810407 diff --git a/linux-glibc-devel.changes b/linux-glibc-devel.changes index dad3609..17e5a05 100644 --- a/linux-glibc-devel.changes +++ b/linux-glibc-devel.changes @@ -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 diff --git a/linux-glibc-devel.spec b/linux-glibc-devel.spec index 35bc681..32a1592 100644 --- a/linux-glibc-devel.spec +++ b/linux-glibc-devel.spec @@ -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 or" #error " 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--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 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 ." #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