fix previous commit: drop references to kolabformat.php

This commit is contained in:
Timotheus Pokorra 2022-11-07 13:57:27 +01:00
parent b2e600778b
commit c983366fbd

View File

@ -194,7 +194,6 @@ sed -i "s/-php/-php7/g" src/php/CMakeLists.txt
mkdir -p \ mkdir -p \
%{buildroot}/%{_datadir}/php \ %{buildroot}/%{_datadir}/php \
%{buildroot}/%{php_inidir}/ %{buildroot}/%{php_inidir}/
mv %{buildroot}/%{php_extdir}/kolabformat.php %{buildroot}/%{_datadir}/php/kolabformat.php
cat > %{buildroot}/%{php_inidir}/%{ini_name} << EOF cat > %{buildroot}/%{php_inidir}/%{ini_name} << EOF
extension=kolabformat.so extension=kolabformat.so
EOF EOF
@ -239,7 +238,6 @@ popd
%if 0%{?with_php} > 0 %if 0%{?with_php} > 0
%files -n php-kolabformat %files -n php-kolabformat
%{_datadir}/php/kolabformat.php
%{php_extdir}/kolabformat.so %{php_extdir}/kolabformat.so
%config(noreplace) %{php_inidir}/%{ini_name} %config(noreplace) %{php_inidir}/%{ini_name}
%endif %endif