From b20b23dfc6bef6f0e468f8331b277e974d1fea12 Mon Sep 17 00:00:00 2001 From: Marian Csontos Date: Fri, 4 Oct 2019 16:29:38 +0200 Subject: [PATCH] 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 file changed, 3 insertions(+), 1 deletion(-) 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