diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-06 03:21:00 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-06 03:21:00 +0000 |
commit | 34030839964c8a1896ba6a7fb3a50d224a173c46 (patch) | |
tree | 501d02d3cbc19b0b7193cc624e8ec55e2a41350b /libkolabxml.spec | |
parent | 9fb518e2d484634169528017a7289052184027bb (diff) |
automatic import of libkolabxmlopeneuler23.03
Diffstat (limited to 'libkolabxml.spec')
-rw-r--r-- | libkolabxml.spec | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libkolabxml.spec b/libkolabxml.spec index 455deaf..7366c57 100644 --- a/libkolabxml.spec +++ b/libkolabxml.spec @@ -178,7 +178,7 @@ sed -i "s/-php/-php7/g" src/php/CMakeLists.txt %make_build %install -%make_install +make install DESTDIR=%{buildroot} %if 0%{?with_php} > 0 mkdir -p \ @@ -198,6 +198,7 @@ php -d enable_dl=On -dextension=src/php/kolabformat.so src/php/test.php ||: python3 src/python/test.py ||: %endif + %ldconfig_scriptlets %files @@ -226,6 +227,7 @@ python3 src/python/test.py ||: %files -n php-kolabformat %{php_extdir}/kolabformat.so %config(noreplace) %{php_inidir}/%{ini_name} +%exclude %{_libdir}/php/modules/kolabformat.php %endif %if 0%{?with_python} > 0 |