summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorMarian Csontos <mcsontos@redhat.com>2018-07-24 15:37:15 +0200
committerMarian Csontos <mcsontos@redhat.com>2018-07-24 15:41:30 +0200
commit279f3bfdc00883a9ff3ea11fd7c6cc5455a58519 (patch)
tree864844a557e1c015cf216e4fec49eb74450cf074 /spec
parent97506a7e2ac4cd4e9a6fd77e4a49a45fd565c3e5 (diff)
downloadlvm2-279f3bfdc00883a9ff3ea11fd7c6cc5455a58519.tar.gz
spec: Add vdo files
Diffstat (limited to 'spec')
-rw-r--r--spec/packages.inc7
-rw-r--r--spec/source.inc2
2 files changed, 9 insertions, 0 deletions
diff --git a/spec/packages.inc b/spec/packages.inc
index ba9bd47f0..702288c2b 100644
--- a/spec/packages.inc
+++ b/spec/packages.inc
@@ -165,6 +165,9 @@ fi
%{_sysconfdir}/lvm/profile/cache-mq.profile
%{_sysconfdir}/lvm/profile/cache-smq.profile
%{_sysconfdir}/lvm/profile/lvmdbusd.profile
+%if %{enable_vdo}
+ %{_sysconfdir}/lvm/profile/vdo-small.profile
+%endif
%dir %{_sysconfdir}/lvm/backup
%dir %{_sysconfdir}/lvm/cache
%dir %{_sysconfdir}/lvm/archive
@@ -237,6 +240,10 @@ This package contains shared lvm2 libraries for applications.
%{_libdir}/libdevmapper-event-lvm2mirror.so
%{_libdir}/libdevmapper-event-lvm2snapshot.so
%{_libdir}/libdevmapper-event-lvm2raid.so
+%if %{enable_vdo}
+%{_libdir}/device-mapper/libdevmapper-event-lvm2vdo.so
+%{_libdir}/libdevmapper-event-lvm2vdo.so
+%endif
##############################################################################
diff --git a/spec/source.inc b/spec/source.inc
index 05eb9c2d9..4561e8a09 100644
--- a/spec/source.inc
+++ b/spec/source.inc
@@ -37,6 +37,8 @@
%with thin_check %{_sbindir}/thin_check
%with thin_repair %{_sbindir}/thin_repair
%with thin_dump %{_sbindir}/thin_dump
+%with vdo internal
+%with vdo-format %{_bindir}/vdoformat
%global buildreq_udev systemd-devel
%global req_udev udev >= 181-1