From 6350583c6f9aca2ce0ffea448204e16e82a83b81 Mon Sep 17 00:00:00 2001
From: Jens Axboe <axboe@kernel.dk>
Date: Thu, 16 May 2019 20:35:19 -0600
Subject: 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>
---
 liburing.spec | 5 +++--
 1 file 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
-- 
cgit