Fix conditionals
This commit is contained in:
parent
572d5bc365
commit
93a554b98c
44
lvm2.spec
44
lvm2.spec
@ -195,21 +195,43 @@ export LIBRARY_PATH="%{_libdir}/readline5"
|
||||
--enable-blkid_wiping \
|
||||
%if %{enable_cluster}
|
||||
--with-cluster=internal \
|
||||
%{?enable_cmirror:--enable-cmirrord} \
|
||||
%if %{enable_cmirror}
|
||||
--enable-cmirrord \
|
||||
%endif
|
||||
%else
|
||||
--with-cluster=internal \
|
||||
%endif
|
||||
--with-udevdir=%{_udevdir} --enable-udev_sync \
|
||||
%{?enable_thin:--with-thin=internal} \
|
||||
%{?enable_cache:--with-cache=internal} \
|
||||
%{?enable_lvmpolld:--enable-lvmpolld} \
|
||||
%{?enable_lockd_dlm:--enable-lvmlockd-dlm --enable-lvmlockd-dlmcontrol} \
|
||||
%{?enable_lockd_sanlock:--enable-lvmlockd-sanlock} \
|
||||
%{?enable_lvmdbusd:--enable-dbus-service --enable-notify-dbus} \
|
||||
%{?enable_dmfilemapd:--enable-dmfilemapd} \
|
||||
%{?enable_writecache:--with-writecache=internal} \
|
||||
%{?enable_vdo:--with-vdo=internal --with-vdo-format=%{_bindir}/vdoformat} \
|
||||
%{?enable_integrity:--with-integrity=internal} \
|
||||
%if %{enable_thin}
|
||||
--with-thin=internal \
|
||||
%endif
|
||||
%if %{enable_cache}
|
||||
--with-cache=internal \
|
||||
%endif
|
||||
%if %{enable_lvmpolld}
|
||||
--enable-lvmpolld \
|
||||
%endif
|
||||
%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
|
||||
|
||||
%make_build
|
||||
|
Loading…
Reference in New Issue
Block a user