]> sourceware.org Git - lvm2.git/commitdiff
spec: Fix conditional
authorMarian Csontos <mcsontos@redhat.com>
Tue, 24 Jul 2018 14:22:23 +0000 (16:22 +0200)
committerMarian Csontos <mcsontos@redhat.com>
Tue, 24 Jul 2018 14:22:23 +0000 (16:22 +0200)
spec/packages.inc

index 702288c2bd671aa293d09a4c638307a6f0aa66e2..38f90ec6bc9195c2002cb10c2fdc0af6ff870f94 100644 (file)
@@ -165,7 +165,7 @@ fi
 %{_sysconfdir}/lvm/profile/cache-mq.profile
 %{_sysconfdir}/lvm/profile/cache-smq.profile
 %{_sysconfdir}/lvm/profile/lvmdbusd.profile
-%if %{enable_vdo}
+%if %{have_with vdo}
  %{_sysconfdir}/lvm/profile/vdo-small.profile
 %endif
 %dir %{_sysconfdir}/lvm/backup
@@ -240,7 +240,7 @@ 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}
+%if %{have_with vdo}
 %{_libdir}/device-mapper/libdevmapper-event-lvm2vdo.so
 %{_libdir}/libdevmapper-event-lvm2vdo.so
 %endif
This page took 0.041851 seconds and 5 git commands to generate.