fix linux api spec missing install directory

This commit is contained in:
Chris Cromer 2020-06-01 16:22:54 -04:00
parent d9c4e5c2a1
commit 9965429fe1
Signed by: cromer
GPG Key ID: 39CC813FF3C8708A
1 changed files with 2 additions and 2 deletions

View File

@ -18,11 +18,11 @@ The Linux API Headers expose the kernel's API for use by Glibc.
%build
make mrproper
%install
cd %{_builddir}/linux-%{version}
make headers
find usr/include -name '.*' -delete
rm usr/include/Makefile
cp -rv usr/include/* %{buildroot}%{_includedir}
install -vdm 755 %{buildroot}/%{_includedir}
cp -rv usr/include/* %{buildroot}/%{_includedir}
#-----------------------------------------------------------------------------
# Copy license/copying file
install -D -m644 COPYING %{buildroot}/usr/share/licenses/%{name}/LICENSE