mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-02 01:18:26 +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() \
|
%define with() \
|
||||||
%global configure_flags %(echo -n "%{?configure_flags} " | sed -e "s,--with-%1=[^ ]*,,"; test -n "%{?2}" && echo --with-%1=%2) \
|
%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
|
%global services monitor
|
||||||
%define service() \
|
%define service() \
|
||||||
|
Loading…
Reference in New Issue
Block a user