summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2019-05-16 20:35:19 -0600
committerJens Axboe <axboe@kernel.dk>2019-05-16 20:35:19 -0600
commit6350583c6f9aca2ce0ffea448204e16e82a83b81 (patch)
treecfe166669aca13d6cad3165186f680c8b3bc211f
parent95118636588d9992f59a81193ba42335223eef13 (diff)
Include man dir/pages in spec file install
Also kill reference to long dead TODO file. Patch from Hrvoje Zeba <zeba.hrvoje@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r--liburing.spec5
1 files changed, 3 insertions, 2 deletions
diff --git a/liburing.spec b/liburing.spec
index 35da5cb..29891ff 100644
--- a/liburing.spec
+++ b/liburing.spec
@@ -30,7 +30,7 @@ make
%install
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT prefix=/usr libdir=/%{_libdir}
+make install DESTDIR=$RPM_BUILD_ROOT prefix=/usr libdir=/%{_libdir} mandir=/usr/share/man
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
@@ -42,13 +42,14 @@ make install DESTDIR=$RPM_BUILD_ROOT prefix=/usr libdir=/%{_libdir}
%files
%defattr(-,root,root)
%attr(0755,root,root) %{_libdir}/liburing.so.*
-%doc COPYING TODO
+%doc COPYING
%files devel
%defattr(-,root,root)
%attr(0644,root,root) %{_includedir}/*
%attr(0755,root,root) %{_libdir}/liburing.so
%attr(0644,root,root) %{_libdir}/liburing.a
+%attr(0644,root,root) %{_mandir}/*
%changelog
* Tue Jan 8 2019 Jens Axboe <axboe@kernel.dk> - 0.1