diff --git a/linux-glibc-devel.changes b/linux-glibc-devel.changes index dad3609..7c55bca 100644 --- a/linux-glibc-devel.changes +++ b/linux-glibc-devel.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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..76d3417 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 @@ -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