Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package php-memcached for openSUSE:Factory 
checked in at 2023-04-13 14:10:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/php-memcached (Old)
 and      /work/SRC/openSUSE:Factory/.php-memcached.new.19717 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "php-memcached"

Thu Apr 13 14:10:43 2023 rev:6 rq:1078807 version:3.2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/php-memcached/php-memcached.changes      
2022-12-13 18:56:09.279423361 +0100
+++ /work/SRC/openSUSE:Factory/.php-memcached.new.19717/php-memcached.changes   
2023-04-13 14:10:51.344333850 +0200
@@ -1,0 +2,6 @@
+Wed Apr 12 19:30:24 UTC 2023 - Arjen de Korte <suse+bu...@de-korte.org>
+
+- Fix ${var} deprecation
+  + fc388e65e7ceab9e6d52bc77b6306f71db981873.patch
+
+-------------------------------------------------------------------

New:
----
  fc388e65e7ceab9e6d52bc77b6306f71db981873.patch

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

Other differences:
------------------
++++++ php-memcached.spec ++++++
--- /var/tmp/diff_new_pack.5KFxCH/_old  2023-04-13 14:10:52.228338926 +0200
+++ /var/tmp/diff_new_pack.5KFxCH/_new  2023-04-13 14:10:52.232338948 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package php-memcached
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 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 @@
 Group:          Productivity/Networking/Web/Servers
 URL:            https://pecl.php.net/package/memcached
 Source0:        https://pecl.php.net/get/%{pkg_name}-%{version}.tgz
+# PATCH-FIX-UPSTREAM - fix ${var} deprecation
+Patch0:         fc388e65e7ceab9e6d52bc77b6306f71db981873.patch
 BuildRequires:  %{php_name}-devel
 %if 0%{?suse_version} > 1500
 BuildRequires:  fastlzlib-devel
@@ -57,7 +59,7 @@
 communicating with memcached servers.
 
 %prep
-%setup -q -n %{pkg_name}-%{version}
+%autosetup -p1 -n %{pkg_name}-%{version}
 
 %build
 export CFLAGS="%{optflags} -fvisibility=hidden"

++++++ fc388e65e7ceab9e6d52bc77b6306f71db981873.patch ++++++
>From fc388e65e7ceab9e6d52bc77b6306f71db981873 Mon Sep 17 00:00:00 2001
From: Remi Collet <r...@remirepo.net>
Date: Fri, 3 Jun 2022 16:56:00 +0200
Subject: [PATCH] fix  ${var} deprecation

---
 tests/touch_binary.phpt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/touch_binary.phpt b/tests/touch_binary.phpt
index 382c1778..059ec74c 100644
--- a/tests/touch_binary.phpt
+++ b/tests/touch_binary.phpt
@@ -28,12 +28,12 @@ function status_print ($op, $mem, $expected)
        $code = $mem->getResultcode();
 
        if ($code == $expected)
-               echo "${op} status code as expected" . PHP_EOL;
+               echo "{$op} status code as expected" . PHP_EOL;
        else {
                $expected = resolve_to_constant ($expected);
                $code = resolve_to_constant ($code);
                
-               echo "${op} status code mismatch, expected ${expected} but got 
${code}" . PHP_EOL;
+               echo "{$op} status code mismatch, expected {$expected} but got 
{$code}" . PHP_EOL;
        }
 }
 

Reply via email to