summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2019-08-03 09:45:26 +0100
committerJens Axboe <axboe@kernel.dk>2019-08-03 08:24:43 -0600
commit6ef590b899a33a5818408101b63a89d899d64c6a (patch)
tree61f8070f4f2e8ba00d92b01142ece23bfdbd91b5
parentea04cd6b6ca473c13a68d45a06bd57a1e5a0ed80 (diff)
spec: fix <liburing/*.h> permissions
There are two issues with the <liburing/*.h> headers: 1. They are installed with 0755 permissions. 2. The empty /usr/include/liburing/ directory is left behind by rpm -e. Fix this by specifying the directory (not just globbing the files inside it) and letting rpm use the default permissions on these files. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r--liburing.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/liburing.spec b/liburing.spec
index 31dfde0..1337034 100644
--- a/liburing.spec
+++ b/liburing.spec
@@ -48,7 +48,7 @@ make install DESTDIR=$RPM_BUILD_ROOT
%files devel
%defattr(-,root,root)
-%attr(0755,root,root) %{_includedir}/liburing/*
+%attr(-,root,root) %{_includedir}/liburing/
%attr(0644,root,root) %{_includedir}/liburing.h
%attr(0755,root,root) %{_libdir}/liburing.so
%attr(0644,root,root) %{_libdir}/liburing.a