master - spec: Add dmfilemapd
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=162552041f58be8ee3fd79accc742568781b56d5 Commit: 162552041f58be8ee3fd79accc742568781b56d5 Parent: a41d5b6491e197a690cb18fa1a0c28ea6ccb029e Author: Marian Csontos <[email protected]> AuthorDate: Tue Mar 28 21:35:46 2017 +0200 Committer: Marian Csontos <[email protected]> CommitterDate: Tue Mar 28 21:52:50 2017 +0200
spec: Add dmfilemapd
--- spec/build.inc | 1 + spec/packages.inc | 4 ++++ spec/source.inc | 7 +++++++ 3 files changed, 12 insertions(+), 0 deletions(-)
spec/build.inc +1 -0
@@ -34,6 +34,7 @@ %enableif %{enable_python3} python3-bindings %enableif %{enable_python} applib %enableif %{enable_dbusd} dbus-service +%enableif %{enable_dmfilemapd} dmfilemapd %build
spec/packages.inc +4 -0
@@ -539,6 +539,10 @@ for the kernel device-mapper. %{_sbindir}/dmstats %{_mandir}/man8/dmsetup.8.gz %{_mandir}/man8/dmstats.8.gz +%if %{enable_dmfilemapd} +%{_sbindir}/dmfilemapd +%{_mandir}/man8/dmfilemapd.8.gz +%endif %if %{enable_udev} %doc udev/12-dm-permissions.rules %dir %{_udevbasedir}
spec/source.inc +7 -0
@@ -15,6 +15,7 @@ %global enable_lvmlockd 1 %global enable_lvmetad 1 %global enable_lvmpolld 1 +%global enable_dmfilemapd 0 #%global enable_lockd_dlm 0 #%global enable_lockd_sanlock 0
@@ -93,6 +94,12 @@ ############################################################## +%if %{rhel} >= 7 || %{fedora} >= 25 + %global enable_dmfilemapd 1 +%endif + +############################################################## + %if %{rhel} >= 8 || %{fedora} >= 23 %if %{enable_python3} %global enable_dbusd 1