[packages/libkolabxml] use __php macro for current php cli
glen
glen at pld-linux.org
Mon May 26 19:31:58 CEST 2014
commit 2b9dc1211c37af3b934ed38779b7a5e5697167b6
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Mon May 26 20:31:56 2014 +0300
use __php macro for current php cli
libkolabxml.spec | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/libkolabxml.spec b/libkolabxml.spec
index df953a6..efa2040 100644
--- a/libkolabxml.spec
+++ b/libkolabxml.spec
@@ -33,6 +33,7 @@ BuildRequires: python-devel
BuildRequires: swig-python
%endif
%if %{with php}
+BuildRequires: %{php_name}-cli
BuildRequires: %{php_name}-devel
BuildRequires: swig-php
%endif
@@ -95,7 +96,7 @@ cd build
-DINCLUDE_INSTALL_DIR=%{_includedir}/kolabxml \
-DLIB_INSTALL_DIR:PATH=%{_libdir} \
%if %{with php}
- -DPHP_EXECUTABLE=%{_bindir}/php \
+ -DPHP_EXECUTABLE=%{__php} \
-DPHP_BINDINGS=ON \
-DPHP_INSTALL_DIR=%{php_extensiondir} \
%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libkolabxml.git/commitdiff/2b9dc1211c37af3b934ed38779b7a5e5697167b6
More information about the pld-cvs-commit
mailing list