[packages/systemtap] fix build without doc
atler
atler at pld-linux.org
Mon Jul 3 13:45:06 CEST 2023
commit d621331a0280c2e57000c20efdc1ebdf2ef5b11c
Author: Jan Palus <atler at pld-linux.org>
Date: Mon Jul 3 12:39:05 2023 +0200
fix build without doc
systemtap.spec | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/systemtap.spec b/systemtap.spec
index 3e8e24b..35402f4 100644
--- a/systemtap.spec
+++ b/systemtap.spec
@@ -362,7 +362,9 @@ install -d $RPM_BUILD_ROOT%{_sysconfdir}/systemtap/{conf.d,script.d}
install -d $RPM_BUILD_ROOT/var/lib/stap-server/.systemtap
install -d $RPM_BUILD_ROOT/var/log/stap-server
+%if %{with doc}
%{__mv} $RPM_BUILD_ROOT%{_docdir}/systemtap docs-installed
+%endif
%if %{with python2}
%py_postclean
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/systemtap.git/commitdiff/d621331a0280c2e57000c20efdc1ebdf2ef5b11c
More information about the pld-cvs-commit
mailing list