[packages/systemtap] - fixed docs packaging

qboosh qboosh at pld-linux.org
Mon Jun 8 21:18:39 CEST 2015


commit 52ae841abe04166c53a55b4d8e6ad79f6388dba4
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Jun 8 21:19:52 2015 +0200

    - fixed docs packaging

 systemtap.spec | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/systemtap.spec b/systemtap.spec
index e6084e5..ff57e32 100644
--- a/systemtap.spec
+++ b/systemtap.spec
@@ -309,13 +309,15 @@ rm -rf $RPM_BUILD_ROOT
 %{?with_crash:%attr(755,root,root) %{_libdir}/%{name}/staplog.so}
 %{_mandir}/man1/stap-merge.1*
 %{_mandir}/man1/stap-report.1*
-#%{_mandir}/man3/function::*.3stap*
-#%{_mandir}/man3/probe::*.3stap*
 %{_mandir}/man3/stapex.3stap*
 %{_mandir}/man3/stapfuncs.3stap*
 %{_mandir}/man3/stapprobes.3stap*
 %{_mandir}/man3/stapvars.3stap*
-#%{_mandir}/man3/tapset::*.3stap*
+%if %{with doc}
+%{_mandir}/man3/function::*.3stap*
+%{_mandir}/man3/probe::*.3stap*
+%{_mandir}/man3/tapset::*.3stap*
+%endif
 %{_mandir}/man7/error::*.7stap*
 %{_mandir}/man7/stappaths.7*
 %{_mandir}/man7/warning::debuginfo.7stap*
@@ -335,7 +337,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files client
 %defattr(644,root,root,755)
-%if %{with docs}
+%if %{with doc}
 %doc docs-installed/{tapsets,langref.pdf,tutorial.pdf}
 %{_examplesdir}/%{name}-client-%{version}
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/systemtap.git/commitdiff/52ae841abe04166c53a55b4d8e6ad79f6388dba4



More information about the pld-cvs-commit mailing list