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

View File

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