[packages/ice] - restored forced php version, added default_php bcond

qboosh qboosh at pld-linux.org
Mon Jul 3 22:05:45 CEST 2017


commit e51997bd70aa30d20b3acb337382c2b74e5405e8
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Jul 3 22:07:16 2017 +0200

    - restored forced php version, added default_php bcond

 ice.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/ice.spec b/ice.spec
index 9b90c4d..d542029 100644
--- a/ice.spec
+++ b/ice.spec
@@ -6,6 +6,7 @@
 %bcond_without	dotnet		# .NET bindings
 %bcond_with	java		# Java bindings (build requires X11 DISPLAY)
 %bcond_without	php		# PHP bindings
+%bcond_with	default_php	# build for default PHP
 %bcond_without	python		# Python bindings
 %bcond_without	ruby		# Ruby bindings
 
@@ -17,9 +18,11 @@
 %undefine	with_dotnet
 %endif
 
-%if "%{?php_suffix}" == "x"
+%if %{without default_php}
+%if "%{?php_suffix}" == ""
 %define		php_suffix	55
 %endif
+%endif
 %define		php_name	php%{?php_suffix}
 
 %{?with_java:%include	/usr/lib/rpm/macros.java}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ice.git/commitdiff/e51997bd70aa30d20b3acb337382c2b74e5405e8



More information about the pld-cvs-commit mailing list