From b978bdd9442a05def64ddf32f6ce8f3ed989268a4cd31e9c255e89399f70d168 Mon Sep 17 00:00:00 2001 From: Arjen de Korte Date: Fri, 19 Feb 2021 10:07:23 +0000 Subject: [PATCH] Cleanup specfile OBS-URL: https://build.opensuse.org/package/show/server:php:extensions/php-imagick?expand=0&rev=4 --- php-imagick.spec | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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