diff --git a/SPECS/linux-api-headers.spec b/SPECS/linux-api-headers.spec index ff9962f..28c25d4 100644 --- a/SPECS/linux-api-headers.spec +++ b/SPECS/linux-api-headers.spec @@ -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