[packages/libmnl] - package man3 pages
qboosh
qboosh at pld-linux.org
Wed Apr 6 18:29:40 CEST 2022
commit ffb2ee2d11dc5c758bb8b2f1e07d17308e54dc33
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed Apr 6 18:29:38 2022 +0200
- package man3 pages
libmnl.spec | 11 +++++++++++
1 file changed, 11 insertions(+)
---
diff --git a/libmnl.spec b/libmnl.spec
index dcfab5e..b9852a3 100644
--- a/libmnl.spec
+++ b/libmnl.spec
@@ -119,6 +119,13 @@ rm -rf $RPM_BUILD_ROOT
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+%if %{with apidocs}
+# junk
+%{__rm} $RPM_BUILD_ROOT%{_mandir}/man3/_*.3
+# too common names
+%{__rm} $RPM_BUILD_ROOT%{_mandir}/man3/{attr,batch,callback,socket}.3
+%endif
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -137,6 +144,10 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/libmnl.la
%{_includedir}/libmnl
%{_pkgconfigdir}/libmnl.pc
+%if %{with apidocs}
+%{_mandir}/man3/mnl_*.3*
+%{_mandir}/man3/nlmsg.3*
+%endif
%if %{with static_libs}
%files static
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libmnl.git/commitdiff/ffb2ee2d11dc5c758bb8b2f1e07d17308e54dc33
More information about the pld-cvs-commit
mailing list