]> git.pld-linux.org Git - packages/libmnl.git/commitdiff
- package man3 pages master
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 6 Apr 2022 16:29:38 +0000 (18:29 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Wed, 6 Apr 2022 16:29:38 +0000 (18:29 +0200)
libmnl.spec

index dcfab5edd59e125b07e465d028d61278d92fbd60..b9852a33e96c4cacf4cef91654fdad04e9c278a7 100644 (file)
@@ -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
This page took 0.240553 seconds and 4 git commands to generate.