From 9965429fe18f1f96f8b7b123153238e1df36fb9f Mon Sep 17 00:00:00 2001 From: Chris Cromer Date: Mon, 1 Jun 2020 16:22:54 -0400 Subject: [PATCH] fix linux api spec missing install directory --- SPECS/linux-api-headers.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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