]> sourceware.org Git - lvm2.git/commitdiff
spec: Add dmfilemapd
authorMarian Csontos <mcsontos@redhat.com>
Tue, 28 Mar 2017 19:35:46 +0000 (21:35 +0200)
committerMarian Csontos <mcsontos@redhat.com>
Tue, 28 Mar 2017 19:52:50 +0000 (21:52 +0200)
spec/build.inc
spec/packages.inc
spec/source.inc

index cd58f3b1a2c23abd47ffa957bcc497f55036463c..88846c627e58a63fec8bdd1b5ddd55e86ce19e4a 100644 (file)
@@ -34,6 +34,7 @@
 %enableif %{enable_python3} python3-bindings
 %enableif %{enable_python} applib
 %enableif %{enable_dbusd} dbus-service
+%enableif %{enable_dmfilemapd} dmfilemapd
 
 %build
 
index cfe6736bf29c72b169d915b885d322a1a7e9193d..74c4270c43534659131e5cf42f05e4af155590f0 100644 (file)
@@ -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}
index 30a706c96998d6373292d3494248abc77aad67e5..a49b454686364e5fb9e60fa434c64211f772529a 100644 (file)
@@ -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
 
 
 ##############################################################
 
+%if %{rhel} >= 7 || %{fedora} >= 25
+  %global enable_dmfilemapd 1
+%endif
+
+##############################################################
+
 %if %{rhel} >= 8 || %{fedora} >= 23
   %if %{enable_python3}
     %global enable_dbusd 1
This page took 0.033935 seconds and 5 git commands to generate.