diff --git a/linux-glibc-devel.changes b/linux-glibc-devel.changes index e93a2ec..c903c84 100644 --- a/linux-glibc-devel.changes +++ b/linux-glibc-devel.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jul 16 08:00:26 UTC 2018 - schwab@suse.de + +- Don't do any expansion on the version.h contents + ------------------------------------------------------------------- Thu Jul 12 20:25:24 UTC 2018 - bwiedemann@suse.com diff --git a/linux-glibc-devel.spec b/linux-glibc-devel.spec index dcfd4f0..292d961 100644 --- a/linux-glibc-devel.spec +++ b/linux-glibc-devel.spec @@ -51,7 +51,7 @@ packages, instead. %setup -q -n linux-glibc-devel-%{version} %build -cat > version.h <<-BOGUS +cat > version.h <<\BOGUS #ifdef __KERNEL__ #error "=======================================================" #error "You should not include /usr/include/{linux,asm}/ header" @@ -78,7 +78,7 @@ cat > version.h <<-BOGUS #error "" #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 "/lib/modules/$(uname -r)/build for use as ." #error "" #error "If you are seeing this message, your environment is " #error "not configured properly. " @@ -89,7 +89,7 @@ cat > version.h <<-BOGUS BOGUS # Get LINUX_VERSION_CODE and KERNEL_VERSION directly from kernel cat usr/include/linux/version.h >> version.h -cat >> version.h <<-BOGUS +cat >> version.h <<\BOGUS #endif BOGUS cat version.h