]> git.pld-linux.org Git - packages/libkolabxml.git/commitdiff
use __php macro for current php cli
authorElan Ruusamäe <glen@delfi.ee>
Mon, 26 May 2014 17:31:56 +0000 (20:31 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Mon, 26 May 2014 17:31:56 +0000 (20:31 +0300)
libkolabxml.spec

index df953a6d889e00e4d01d19a80112daa41bb8acaa..efa2040094d32fd4c3c60e74c94c35b8edbc8a4e 100644 (file)
@@ -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
This page took 0.104752 seconds and 4 git commands to generate.