diff --git a/php-imagick.spec b/php-imagick.spec index 778eabf..b19cd4a 100644 --- a/php-imagick.spec +++ b/php-imagick.spec @@ -56,9 +56,7 @@ PHP extension to create, modify and obtain meta information of images using the ImageMagick API %prep -%setup -q -n %{pkg_name}-%{version} -%patch0 -p1 -mkdir %{name} +%autosetup -n %{pkg_name}-%{version} -p1 # Ignore know failed test on OBS with timeout rm tests/229_Tutorial_fxAnalyzeImage_case1.phpt @@ -84,7 +82,7 @@ install --mode=0644 %{SOURCE1} %{buildroot}%{php_cfgdir}/%{pkg_name}.ini %defattr(-,root,root,-) %license LICENSE %doc ChangeLog CREDITS -%config(noreplace) %{_sysconfdir}/php7/conf.d/%{pkg_name}.ini +%config(noreplace) %{php_cfgdir}/%{pkg_name}.ini %{php_extdir}/%{pkg_name}.so %changelog