summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Palus2023-07-03 10:39:05 (GMT)
committerJan Palus2023-07-03 10:39:05 (GMT)
commitd621331a0280c2e57000c20efdc1ebdf2ef5b11c (patch)
tree0894abb47cdc9b204446fafe76efa1e6a49aaf95
parent11d61debe5d9c5e2cc38260e5ab1c97e02a90921 (diff)
downloadsystemtap-d621331a0280c2e57000c20efdc1ebdf2ef5b11c.zip
systemtap-d621331a0280c2e57000c20efdc1ebdf2ef5b11c.tar.gz
fix build without doc
-rw-r--r--systemtap.spec2
1 files changed, 2 insertions, 0 deletions
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