diff options
author | Jan Palus | 2023-07-03 10:39:05 (GMT) |
---|---|---|
committer | Jan Palus | 2023-07-03 10:39:05 (GMT) |
commit | d621331a0280c2e57000c20efdc1ebdf2ef5b11c (patch) | |
tree | 0894abb47cdc9b204446fafe76efa1e6a49aaf95 | |
parent | 11d61debe5d9c5e2cc38260e5ab1c97e02a90921 (diff) | |
download | systemtap-d621331a0280c2e57000c20efdc1ebdf2ef5b11c.zip systemtap-d621331a0280c2e57000c20efdc1ebdf2ef5b11c.tar.gz |
fix build without doc
-rw-r--r-- | systemtap.spec | 2 |
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 |