forked from pool/linux-glibc-devel
Accepting request 623064 from Base:System
- Don't do any expansion on the version.h contents (forwarded request 623063 from Andreas_Schwab) OBS-URL: https://build.opensuse.org/request/show/623064 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/linux-glibc-devel?expand=0&rev=63
This commit is contained in:
commit
4b4704ce4c
@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
||||||
|
|
||||||
|
- Don't embed build system's kernel version in rpm
|
||||||
|
to make package build reproducible (boo#1101107)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jun 4 10:18:10 UTC 2018 - schwab@suse.de
|
Mon Jun 4 10:18:10 UTC 2018 - schwab@suse.de
|
||||||
|
|
||||||
|
@ -51,7 +51,7 @@ packages, instead.
|
|||||||
%setup -q -n linux-glibc-devel-%{version}
|
%setup -q -n linux-glibc-devel-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
cat > version.h <<-BOGUS
|
cat > version.h <<\BOGUS
|
||||||
#ifdef __KERNEL__
|
#ifdef __KERNEL__
|
||||||
#error "======================================================="
|
#error "======================================================="
|
||||||
#error "You should not include /usr/include/{linux,asm}/ header"
|
#error "You should not include /usr/include/{linux,asm}/ header"
|
||||||
@ -89,7 +89,7 @@ cat > version.h <<-BOGUS
|
|||||||
BOGUS
|
BOGUS
|
||||||
# Get LINUX_VERSION_CODE and KERNEL_VERSION directly from kernel
|
# Get LINUX_VERSION_CODE and KERNEL_VERSION directly from kernel
|
||||||
cat usr/include/linux/version.h >> version.h
|
cat usr/include/linux/version.h >> version.h
|
||||||
cat >> version.h <<-BOGUS
|
cat >> version.h <<\BOGUS
|
||||||
#endif
|
#endif
|
||||||
BOGUS
|
BOGUS
|
||||||
cat version.h
|
cat version.h
|
||||||
|
Loading…
Reference in New Issue
Block a user