Hello community, here is the log from the commit of package php7-imagick for openSUSE:Factory checked in at 2017-07-12 19:35:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/php7-imagick (Old) and /work/SRC/openSUSE:Factory/.php7-imagick.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "php7-imagick" Wed Jul 12 19:35:40 2017 rev:2 rq:509435 version:3.4.3 Changes: -------- --- /work/SRC/openSUSE:Factory/php7-imagick/php7-imagick.changes 2017-04-20 20:50:20.373143575 +0200 +++ /work/SRC/openSUSE:Factory/.php7-imagick.new/php7-imagick.changes 2017-07-12 19:35:41.994942668 +0200 @@ -1,0 +2,5 @@ +Tue Jul 11 09:27:53 UTC 2017 - ilya@ilya.pp.ua + +- Reconfigurate spec-file + +------------------------------------------------------------------- @@ -110 +115 @@ - These parameters are only used when compiled against ImageMagick 7. + These parameters are only used when compiled against ImageMagick 7. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ php7-imagick.spec ++++++ --- /var/tmp/diff_new_pack.8mxjWe/_old 2017-07-12 19:35:42.898814987 +0200 +++ /var/tmp/diff_new_pack.8mxjWe/_new 2017-07-12 19:35:42.898814987 +0200 @@ -18,22 +18,20 @@ %define php_name php7 %define pkg_name imagick -# -Name: php7-imagick +Name: %{php_name}-%{pkg_name} Version: 3.4.3 Release: 0 -Summary: Wrapper to the ImageMagick/GraphicsMagick library +Summary: Wrapper to the ImageMagick library License: PHP-3.01 Group: Productivity/Networking/Web/Servers -Url: http://pecl.php.net/package/%{pkg_name} -Source0: http://pecl.php.net/get/%{pkg_name}-%{version}.tgz +Url: https://pecl.php.net/package/imagick +Source0: https://pecl.php.net/get/%{pkg_name}-%{version}.tgz Source1: %{pkg_name}.ini -BuildRequires: %{php_name}-devel >= 5.4.0 +BuildRequires: %{php_name}-devel >= 7.0.1 BuildRequires: ImageMagick-devel >= 6.5.3.10 -BuildRequires: pkgconfig +BuildRequires: re2c Provides: php-%{pkg_name} = %{version} Obsoletes: php-%{pkg_name} < %{version} -BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %{?php_zend_api}0 Requires: php(api) = %{php_core_api} Requires: php(zend-abi) = %{php_zend_api} @@ -42,7 +40,8 @@ %endif %description -Provides a wrapper to the ImageMagick/GraphicsMagick library. +PHP extension to create, modify and obtain meta information of images using +the ImageMagick API %prep %setup -q -n %{pkg_name}-%{version} @@ -50,26 +49,15 @@ %build %{_bindir}/phpize -# FIXME: you should use the %%configure macro -./configure --with-%{pkg_name}=%{_usr} +%configure --with-%{pkg_name}=%{_usr} make %{?_smp_mflags} -%check -# only check if the extension can be loaded -%{_bindir}/php \ - --no-php-ini \ - --define extension=%{buildroot}%{_libdir}/%{php_name}/extensions/%{pkg_name}.so \ - --modules | grep %{pkg_name} - -if [ -x %{_bindir}/zts-php ] ; then -%{_bindir}/zts-php \ - --no-php-ini \ - --define extension=%{buildroot}%{_libdir}/%{php_name}/extensions/%{pkg_name} \ - --modules | grep %{pkg_name} -fi +%{__phpize} +%configure --with-%{pkg_name} +make %{?_smp_mflags} -export TEST_PHP_EXECUTABLE=%{_bindir}/php -php run-tests.php -d extension=imagick.so -d extension_dir=modules -n ./tests/*.phpt +%check +make %{?_smp_mflags} PHP_EXECUTABLE=%{__php} NO_INTERACTION=1 test %install make DESTDIR=%{buildroot} install INSTALL_ROOT=%{buildroot} @@ -83,6 +71,6 @@ %defattr(0644,root,root,-) %{_libdir}/%{php_name}/extensions/%{pkg_name}.so %config(noreplace) %{_sysconfdir}/%{php_name}/conf.d/%{pkg_name}.ini -%doc CREDITS LICENSE +%doc ChangeLog CREDITS LICENSE %changelog ++++++ imagick.ini ++++++ --- /var/tmp/diff_new_pack.8mxjWe/_old 2017-07-12 19:35:42.938809337 +0200 +++ /var/tmp/diff_new_pack.8mxjWe/_new 2017-07-12 19:35:42.938809337 +0200 @@ -1,2 +1,2 @@ ; comment out next line to disable imagick extension in php -extension = imagick.so +extension=imagick.so