1
0

Accepting request 507730 from home:Andreas_Schwab:Factory

- Update to kernel headers 4.12

OBS-URL: https://build.opensuse.org/request/show/507730
OBS-URL: https://build.opensuse.org/package/show/Base:System/linux-glibc-devel?expand=0&rev=112
This commit is contained in:
Andreas Schwab 2017-07-03 08:48:22 +00:00 committed by Git OBS Bridge
parent 4e9aee6a3b
commit b7c762fa9e
5 changed files with 12 additions and 7 deletions

View File

@ -66,7 +66,7 @@ find -type f -name ".install" -print0 | xargs -0 --no-run-if-empty rm
# #
rm -rf usr/include/drm/ rm -rf usr/include/drm/
# Remove confusing empty uapi directory # Remove confusing empty uapi directory
rmdir usr/include/uapi test ! -d usr/include/uapi || rmdir usr/include/uapi
for dir in * for dir in *
do do
case "$dir" in case "$dir" in

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:641d268f7354da0679afb3ae2019b4d53cb93a0c89df9668524c6e371a91702b
size 1026568

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7f1f547ad0056dc2b5f58f9eae1011e1dac49edb9f1729cc49ea6535e820bd72
size 1132108

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jul 3 08:04:22 UTC 2017 - schwab@suse.de
- Update to kernel headers 4.12
------------------------------------------------------------------- -------------------------------------------------------------------
Tue May 16 12:49:44 UTC 2017 - schwab@suse.de Tue May 16 12:49:44 UTC 2017 - schwab@suse.de

View File

@ -21,7 +21,7 @@ Summary: Linux headers for userspace development
License: GPL-2.0 License: GPL-2.0
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
BuildArch: noarch BuildArch: noarch
Version: 4.11 Version: 4.12
Release: 0 Release: 0
Url: http://www.kernel.org/ Url: http://www.kernel.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -147,7 +147,7 @@ then
echo "/usr/include/asm is a directory, waiting for triggerpostun to symlink to asm-$asm_link" echo "/usr/include/asm is a directory, waiting for triggerpostun to symlink to asm-$asm_link"
exit 0 exit 0
fi fi
ln -sfn asm-$asm_link usr/include/asm ln -sfn arch-$asm_link/asm usr/include/asm
exit 0 exit 0
%triggerpostun -- linux-kernel-headers, glibc-devel < 2.5, libc < 2.2 %triggerpostun -- linux-kernel-headers, glibc-devel < 2.5, libc < 2.2
@ -165,7 +165,7 @@ case "$(uname -m)" in
m68k) asm_link=m68k ;; m68k) asm_link=m68k ;;
*) asm_link=x86 ;; *) asm_link=x86 ;;
esac esac
ln -sfn asm-$asm_link usr/include/asm ln -sfn arch-$asm_link/asm usr/include/asm
exit 0 exit 0
%files %files