Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package php-gmagick for openSUSE:Factory 
checked in at 2022-01-27 23:17:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/php-gmagick (Old)
 and      /work/SRC/openSUSE:Factory/.php-gmagick.new.1898 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "php-gmagick"

Thu Jan 27 23:17:04 2022 rev:2 rq:949535 version:2.0.6RC1

Changes:
--------
--- /work/SRC/openSUSE:Factory/php-gmagick/php-gmagick.changes  2021-02-19 
23:48:48.619571922 +0100
+++ /work/SRC/openSUSE:Factory/.php-gmagick.new.1898/php-gmagick.changes        
2022-01-27 23:18:56.302160940 +0100
@@ -1,0 +2,6 @@
+Thu Jan 27 18:45:17 UTC 2022 - Arjen de Korte <suse+bu...@de-korte.org>
+
+- Fix wrong parameter order in test
+  + fix-param-order-in-test.patch
+
+-------------------------------------------------------------------

New:
----
  fix-param-order-in-test.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ php-gmagick.spec ++++++
--- /var/tmp/diff_new_pack.gdTIce/_old  2022-01-27 23:18:56.714158093 +0100
+++ /var/tmp/diff_new_pack.gdTIce/_new  2022-01-27 23:18:56.718158066 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package php-gmagick
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -38,6 +38,8 @@
 Source0:        https://pecl.php.net/get/%{pkg_name}-%{version}.tgz
 Source1:        php-%{pkg_name}-rpmlintrc
 Patch1:         ignore-test-GraphicsMagick-1.3.36.patch
+# PATCH-FIX-UPSTREAM: https://github.com/vitoc/gmagick/pull/54
+Patch2:         fix-param-order-in-test.patch
 BuildRequires:  %{php_name}-devel
 BuildRequires:  GraphicsMagick-devel
 BuildRequires:  ghostscript-fonts-std
@@ -57,6 +59,7 @@
 %if 0%{?suse_version} > 1500
 %patch1
 %endif
+%patch2 -p1
 
 %build
 export CFLAGS="%{optflags} -fvisibility=hidden %(GraphicsMagick-config 
--cflags)"

++++++ fix-param-order-in-test.patch ++++++
>From 584a077bca8c989789a70d47c7ead1f9083490cd Mon Sep 17 00:00:00 2001
From: Remi Collet <r...@remirepo.net>
Date: Fri, 11 Jun 2021 10:47:39 +0200
Subject: [PATCH] fix param order in test

---
 tests/gmagick-003-resize_variations.phpt | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/tests/gmagick-003-resize_variations.phpt 
b/tests/gmagick-003-resize_variations.phpt
index a701d23..12f5518 100644
--- a/tests/gmagick-003-resize_variations.phpt
+++ b/tests/gmagick-003-resize_variations.phpt
@@ -8,10 +8,10 @@ if(!extension_loaded('gmagick')) die('skip');
 --FILE--
 <?php
 $gm = new Gmagick("magick:rose");
-$gm->resizeImage(10, 10, 0.5, Gmagick::FILTER_LANCZOS);
-$gm->resizeImage(10, 10, 0.5, Gmagick::FILTER_UNDEFINED, true);
-$gm->resizeImage(10, 10, 0.5, Gmagick::FILTER_GAUSSIAN, false);
+$gm->resizeImage(10, 10, Gmagick::FILTER_LANCZOS, 0.5);
+$gm->resizeImage(10, 10, Gmagick::FILTER_UNDEFINED, 0.5, true);
+$gm->resizeImage(10, 10, Gmagick::FILTER_GAUSSIAN, 0.5, false);
 echo "ok";
 ?>
 --EXPECTF--
-ok
\ No newline at end of file
+ok

Reply via email to