fix linux api spec missing install directory
This commit is contained in:
parent
d9c4e5c2a1
commit
9965429fe1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user