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:
parent
581eeaf950
commit
4d081f072f
@ -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() \
|
||||
|
Loading…
Reference in New Issue
Block a user