master - spec: Fix lvm2-activation-generator man page handling
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=b20b23dfc6bef6f0e468f8331b277e974d1fea12 Commit: b20b23dfc6bef6f0e468f8331b277e974d1fea12 Parent: d69304114948451c72b399346194af6ed4e10f9c Author: Marian Csontos <[email protected]> AuthorDate: Fri Oct 4 16:29:38 2019 +0200 Committer: Marian Csontos <[email protected]> CommitterDate: Fri Oct 4 16:29:38 2019 +0200
spec: Fix lvm2-activation-generator man page handling
lvm2-activation-generator is not installed when systemd is not in the system.
--- spec/packages.inc | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
spec/packages.inc +3 -1
@@ -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