Hello community, here is the log from the commit of package linux-glibc-devel for openSUSE:Factory checked in at Wed Sep 7 17:54:34 CEST 2011.
-------- --- linux-glibc-devel/linux-glibc-devel.changes 2011-09-06 16:50:46.000000000 +0200 +++ /mounts/work_src_done/STABLE/linux-glibc-devel/linux-glibc-devel.changes 2011-09-07 10:08:22.000000000 +0200 @@ -1,0 +2,5 @@ +Wed Sep 7 08:07:24 UTC 2011 - a...@suse.de + +- Fix LINUX_VERSION_CODE + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ linux-glibc-devel.spec ++++++ --- /var/tmp/diff_new_pack.o18TcP/_old 2011-09-07 17:54:30.000000000 +0200 +++ /var/tmp/diff_new_pack.o18TcP/_new 2011-09-07 17:54:30.000000000 +0200 @@ -26,7 +26,7 @@ BuildArch: noarch # this confusing version number has no meaning Version: 3.1_rc5 -Release: 1 +Release: 5 Url: http://www.kernel.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: kernel-headers @@ -85,9 +85,10 @@ #error " Please adjust the Makefile accordingly." #error "=======================================================" #else -#define UTS_RELEASE "%{version}" -#define LINUX_VERSION_CODE `bash -c 'v="%{version}";c=0;read a b <<< "${v//./ }";echo "$(( (($a) << 16) + (($b) << 8) + ($c) ))"'` -#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c)) +BOGUS +# Get LINUX_VERSION_CODE and KERNEL_VERSION directly from kernel +cat usr/include/linux/version.h >> version.h +cat >> version.h <<-BOGUS #endif BOGUS cat version.h ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org