summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/device-mapper.spec4
1 files changed, 3 insertions, 1 deletions
diff --git a/packaging/device-mapper.spec b/packaging/device-mapper.spec
index 1946fb8..81bf1de 100644
--- a/packaging/device-mapper.spec
+++ b/packaging/device-mapper.spec
@@ -14,6 +14,7 @@ Group: Base/Device Management
Source0: ftp://sources.redhat.com/pub/lvm2/LVM2.%{lvm2_version}.tgz
Source1001: device-mapper.manifest
Requires: libdevmapper = %{device_mapper_version}-%{release}
+BuildRequires: pkgconfig(libsystemd)
%description
This package contains the supporting userspace utility, dmsetup,
@@ -54,7 +55,8 @@ cp %{SOURCE1001} .
--with-device-mode=0660 \
--enable-pkgconfig \
--enable-udev_rules \
- --with-udevdir=%{udev_dir}
+ --with-udevdir=%{udev_dir} \
+ --enable-udev_sync
%define _exec_prefix /
make device-mapper