stable-2.02 - spec: Fix lvm2-activation-generator man page handling
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=219c4c2ce2c605960ad760ac99be27b2665a8c43 Commit: 219c4c2ce2c605960ad760ac99be27b2665a8c43 Parent: 45ee63ede955d3188119d039faca26a159038f67 Author: Marian Csontos <[email protected]> AuthorDate: Fri Oct 4 16:29:38 2019 +0200 Committer: Marian Csontos <[email protected]> CommitterDate: Fri Oct 4 16:32:52 2019 +0200
spec: Fix lvm2-activation-generator man page handling
lvm2-activation-generator is not installed when systemd is not in the system.
(cherry picked from commit b20b23dfc6bef6f0e468f8331b277e974d1fea12)
Conflicts:
spec/packages.inc
--- spec/packages.inc | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
spec/packages.inc +3 -1
@@ -108,7 +108,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/lvmconf.8.gz %{_mandir}/man8/lvmconfig.8.gz %{_mandir}/man8/lvmdiskscan.8.gz