1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

spec: Do not treat --with-?=none as having the thing.

This commit is contained in:
Petr Rockai 2013-12-17 10:14:28 +01:00 committed by Petr Rockai
parent 581eeaf950
commit 4d081f072f

View File

@ -18,7 +18,7 @@
%define with() \
%global configure_flags %(echo -n "%{?configure_flags} " | sed -e "s,--with-%1=[^ ]*,,"; test -n "%{?2}" && echo --with-%1=%2) \
%global with_flags %(echo -n "%{?with_flags} " | sed -e "s,%1,,"; test -n "%{?2}" && echo %1)
%global with_flags %(echo -n "%{?with_flags} " | sed -e "s,%1,,"; test -n "%{?2}" && test "%{?2}" != none && echo %1)
%global services monitor
%define service() \