diff options
Diffstat (limited to 'libkolabxml.spec')
-rw-r--r-- | libkolabxml.spec | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libkolabxml.spec b/libkolabxml.spec index 6d1013d..1e3bf1d 100644 --- a/libkolabxml.spec +++ b/libkolabxml.spec @@ -126,8 +126,8 @@ Java bindings for libkolabxml %package -n php-kolabformat Summary: PHP bindings for libkolabxml Requires: %{name}%{?_isa} = %{version}-%{release} -Requires: php(zend-abi) -Requires: php(api) +Requires: php(zend-abi) = %{php_zend_api} +Requires: php(api) = %{php_core_api} BuildRequires: php >= 5.3 BuildRequires: php-devel >= 5.3 @@ -174,10 +174,10 @@ sed -i "s/-php/-php7/g" src/php/CMakeLists.txt -DPYTHON_INSTALL_DIR=%{python3_sitearch} %endif -%cmake_build +%make_build %install -%cmake_install +%make_install %if 0%{?with_php} > 0 mkdir -p \ |