]> sourceware.org Git - lvm2.git/commitdiff
spec: Fix lvm2-activation-generator man page handling
authorMarian Csontos <mcsontos@redhat.com>
Fri, 4 Oct 2019 14:29:38 +0000 (16:29 +0200)
committerMarian Csontos <mcsontos@redhat.com>
Fri, 4 Oct 2019 14:29:38 +0000 (16:29 +0200)
lvm2-activation-generator is not installed when systemd is not in the
system.

spec/packages.inc

index cbddbd54c5bef85a59a22c07acabc77b5a75840e..c0d37936fee48be0d02c0e0f09a7d376ddfa42ff 100644 (file)
@@ -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
This page took 0.034103 seconds and 5 git commands to generate.