Remove kolabformat.php incase it is there

This commit is contained in:
Troy Dawson 2023-05-08 11:38:15 -07:00
parent e1e1c328d1
commit addac947a4

View File

@ -194,6 +194,7 @@ sed -i "s/-php/-php7/g" src/php/CMakeLists.txt
mkdir -p \
%{buildroot}/%{_datadir}/php \
%{buildroot}/%{php_inidir}/
rm -f %{buildroot}/%{php_extdir}/kolabformat.php
cat > %{buildroot}/%{php_inidir}/%{ini_name} << EOF
extension=kolabformat.so
EOF