[packages/php] apply milter patch only when enabled

glen glen at pld-linux.org
Sun May 24 20:55:49 CEST 2015


commit 8a89cecb8d86e424f3a5f922ddf0054d40a9b84b
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun May 24 21:55:27 2015 +0300

    apply milter patch only when enabled

 php.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/php.spec b/php.spec
index 30b925c..997d02c 100644
--- a/php.spec
+++ b/php.spec
@@ -1998,7 +1998,7 @@ cp -p php.ini-production php.ini
 %patch5 -p1
 %patch6 -p1
 %patch7 -p1
-%patch8 -p1
+%{?with_milter:%patch8 -p1}
 %patch9 -p1
 %patch10 -p1
 %patch14 -p1
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php.git/commitdiff/8a89cecb8d86e424f3a5f922ddf0054d40a9b84b



More information about the pld-cvs-commit mailing list