diff --git a/libkolabxml.spec b/libkolabxml.spec index e3be77d..be93002 100644 --- a/libkolabxml.spec +++ b/libkolabxml.spec @@ -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