[packages/cyrus-imapd] - use new with_without syntax for perl bcond

adamg adamg at pld-linux.org
Wed Dec 12 08:56:44 CET 2018


commit 4b369409ea9b0a1e2bba95b7f94416e331ea948f
Author: Adam Gołębiowski <adamg at pld-linux.org>
Date:   Wed Dec 12 08:55:53 2018 +0100

    - use new with_without syntax for perl bcond

 cyrus-imapd.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/cyrus-imapd.spec b/cyrus-imapd.spec
index f21f4fe..2bab616 100644
--- a/cyrus-imapd.spec
+++ b/cyrus-imapd.spec
@@ -221,7 +221,7 @@ cp -p %{SOURCE1} %{SOURCE2} %{SOURCE4} %{SOURCE5} .
 	--without-libwrap \
 	%{__with_without lmdb} \
 	%{__with_without mysql} \
-	--%{!?with_perl:without-perl}%{?with_perl:with-perl=%{__perl}} \
+	%{__with_without perl perl %{__perl}} \
 	%{__with_without pgsql} \
 	%{__with_without docs sphinx-build}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/cyrus-imapd.git/commitdiff/4b369409ea9b0a1e2bba95b7f94416e331ea948f



More information about the pld-cvs-commit mailing list