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 2022-12-01 16:58:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/php-memcached (Old)
and /work/SRC/openSUSE:Factory/.php-memcached.new.1835 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "php-memcached"
Thu Dec 1 16:58:45 2022 rev:4 rq:1039178 version:3.2.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/php-memcached/php-memcached.changes 2022-03-24 23:01:13.932437723 +0100
+++ /work/SRC/openSUSE:Factory/.php-memcached.new.1835/php-memcached.changes 2022-12-01 16:59:06.999125064 +0100
@@ -1,0 +2,6 @@
+Wed Nov 30 17:50:47 UTC 2022 - Dominique Leuenberger
+
+- Adjust to memcached now being installed in /usr/bin instead of
+ /usr/sbin.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ php-memcached.spec ++++++
--- /var/tmp/diff_new_pack.EiwDbK/_old 2022-12-01 16:59:07.503127830 +0100
+++ /var/tmp/diff_new_pack.EiwDbK/_new 2022-12-01 16:59:07.507127852 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package php-memcached
+# spec file
#
# Copyright (c) 2022 SUSE LLC
#
@@ -72,7 +72,17 @@
%if "%{php_name}" == "php7"
export TEST_PHP_ARGS="$TEST_PHP_ARGS -d extension=%{php_extdir}/json.so"
%endif
-%{_sbindir}/memcached -P /tmp/memcached.pid -p 11211 -U 11211 -d
+
+if [ -x %{_sbindir}/memcached ]; then
+ export MEMCACHED_BIN=%{_sbindir}/memcached
+elif [ -x %{_bindir}/memcached ]; then
+ export MEMCACHED_BIN=%{_bindir}/memcached
+else
+ echo "Failed to start memcached - tests can't pass"
+ exit 1
+fi
+
+$MEMCACHED_BIN -P /tmp/memcached.pid -p 11211 -U 11211 -d
%make_build PHP_EXECUTABLE=%{__php} NO_INTERACTION=1 test
kill -TERM $(cat /tmp/memcached.pid)