Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package php-memcache for openSUSE:Factory 
checked in at 2022-12-01 16:58:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/php-memcache (Old)
 and      /work/SRC/openSUSE:Factory/.php-memcache.new.1835 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "php-memcache"

Thu Dec  1 16:58:45 2022 rev:4 rq:1039177 version:4.0.5.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/php-memcache/php-memcache.changes        
2022-01-27 23:18:55.730164891 +0100
+++ /work/SRC/openSUSE:Factory/.php-memcache.new.1835/php-memcache.changes      
2022-12-01 16:59:06.299121222 +0100
@@ -1,0 +2,6 @@
+Wed Nov 30 17:47:19 UTC 2022 - Dominique Leuenberger <[email protected]>
+
+- Adjust to memcached now being installed in /usr/bin instead of
+  /usr/sbin.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ php-memcache.spec ++++++
--- /var/tmp/diff_new_pack.ggSS1j/_old  2022-12-01 16:59:06.851124252 +0100
+++ /var/tmp/diff_new_pack.ggSS1j/_new  2022-12-01 16:59:06.855124274 +0100
@@ -1,7 +1,7 @@
 #
-# spec file for package php-memcache
+# spec file
 #
-# 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
@@ -82,9 +82,18 @@
 %make_build
 
 %check
-%{_sbindir}/memcached -P /tmp/memcached1.pid -p 11211 -U 11211 -d
-%{_sbindir}/memcached -P /tmp/memcached2.pid -p 11212 -U 11212 -d
-%{_sbindir}/memcached -P /tmp/memcached3.pid -s /tmp/memcached.sock -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/memcached1.pid -p 11211 -U 11211 -d
+$MEMCACHED_BIN -P /tmp/memcached2.pid -p 11212 -U 11212 -d
+$MEMCACHED_BIN -P /tmp/memcached3.pid -s /tmp/memcached.sock -d
 %make_build PHP_EXECUTABLE=%{__php} NO_INTERACTION=1 test
 kill $(cat /tmp/memcached*.pid)
 

Reply via email to