diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-05 09:08:41 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-05 09:08:41 +0000 |
commit | 8780ecf0386708f0f4256078162e8d0d749f4323 (patch) | |
tree | ff80fa2f6318d5b6094da8fad2bf961a28e4b549 | |
parent | 1119561f412839809f88ef506113f09aad531b11 (diff) |
automatic import of libkolabxml
-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 \ |