Fix conditionals

This commit is contained in:
Marian Csontos 2021-03-16 16:16:36 +01:00
parent 572d5bc365
commit 93a554b98c

View File

@ -195,21 +195,43 @@ export LIBRARY_PATH="%{_libdir}/readline5"
--enable-blkid_wiping \ --enable-blkid_wiping \
%if %{enable_cluster} %if %{enable_cluster}
--with-cluster=internal \ --with-cluster=internal \
%{?enable_cmirror:--enable-cmirrord} \ %if %{enable_cmirror}
--enable-cmirrord \
%endif
%else %else
--with-cluster=internal \ --with-cluster=internal \
%endif %endif
--with-udevdir=%{_udevdir} --enable-udev_sync \ --with-udevdir=%{_udevdir} --enable-udev_sync \
%{?enable_thin:--with-thin=internal} \ %if %{enable_thin}
%{?enable_cache:--with-cache=internal} \ --with-thin=internal \
%{?enable_lvmpolld:--enable-lvmpolld} \ %endif
%{?enable_lockd_dlm:--enable-lvmlockd-dlm --enable-lvmlockd-dlmcontrol} \ %if %{enable_cache}
%{?enable_lockd_sanlock:--enable-lvmlockd-sanlock} \ --with-cache=internal \
%{?enable_lvmdbusd:--enable-dbus-service --enable-notify-dbus} \ %endif
%{?enable_dmfilemapd:--enable-dmfilemapd} \ %if %{enable_lvmpolld}
%{?enable_writecache:--with-writecache=internal} \ --enable-lvmpolld \
%{?enable_vdo:--with-vdo=internal --with-vdo-format=%{_bindir}/vdoformat} \ %endif
%{?enable_integrity:--with-integrity=internal} \ %if %{enable_lockd_dlm}
--enable-lvmlockd-dlm --enable-lvmlockd-dlmcontrol \
%endif
%if %{enable_lockd_sanlock}
--enable-lvmlockd-sanlock \
%endif
%if %{enable_lvmdbusd}
--enable-dbus-service --enable-notify-dbus \
%endif
%if %{enable_dmfilemapd}
--enable-dmfilemapd \
%endif
%if %{enable_writecache}
--with-writecache=internal \
%endif
%if %{enable_vdo}
--with-vdo=internal --with-vdo-format=%{_bindir}/vdoformat \
%endif
%if %{enable_integrity}
--with-integrity=internal \
%endif
--disable-silent-rules --disable-silent-rules
%make_build %make_build