summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorMarian Csontos <mcsontos@redhat.com>2019-10-04 16:29:38 +0200
committerMarian Csontos <mcsontos@redhat.com>2019-10-04 16:29:38 +0200
commitb20b23dfc6bef6f0e468f8331b277e974d1fea12 (patch)
tree1d4f207f0d0394954664bc4af49828f99cd0a916 /spec
parentd69304114948451c72b399346194af6ed4e10f9c (diff)
downloadlvm2-b20b23dfc6bef6f0e468f8331b277e974d1fea12.tar.gz
spec: Fix lvm2-activation-generator man page handling
lvm2-activation-generator is not installed when systemd is not in the system.
Diffstat (limited to 'spec')
-rw-r--r--spec/packages.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/packages.inc b/spec/packages.inc
index cbddbd54c..c0d37936f 100644
--- a/spec/packages.inc
+++ b/spec/packages.inc
@@ -95,7 +95,9 @@ fi
%{_mandir}/man8/lvm-config.8.gz
%{_mandir}/man8/lvm-dumpconfig.8.gz
%{_mandir}/man8/lvm.8.gz
-%{_mandir}/man8/lvm2-activation-generator.8.gz
+%if %{enable_systemd}
+ %{_mandir}/man8/lvm2-activation-generator.8.gz
+%endif
%{_mandir}/man8/lvmconfig.8.gz
%{_mandir}/man8/lvmdiskscan.8.gz
%{_mandir}/man8/lvmdump.8.gz