Hello community,

here is the log from the commit of package php7-redis for openSUSE:Factory 
checked in at 2017-08-24 18:46:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/php7-redis (Old)
 and      /work/SRC/openSUSE:Factory/.php7-redis.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "php7-redis"

Thu Aug 24 18:46:13 2017 rev:3 rq:514652 version:3.1.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/php7-redis/php7-redis.changes    2017-07-11 
08:24:50.407954648 +0200
+++ /work/SRC/openSUSE:Factory/.php7-redis.new/php7-redis.changes       
2017-08-24 18:46:28.243503270 +0200
@@ -1,0 +2,17 @@
+Wed Aug  2 11:34:01 UTC 2017 - [email protected]
+
+- Remove the php5 packages as the php5 language is being removed
+
+-------------------------------------------------------------------
+Wed Jul 19 22:23:34 UTC 2017 - [email protected]
+
+- Update to 3.1.3
+  * ChangeLog 
https://pecl.php.net/package-changelog.php?package=redis&release=3.1.3
+
+-------------------------------------------------------------------
+Mon Jul 10 18:10:23 UTC 2017 - [email protected]
+
+- Add config file redis.ini
+- Format spec-file to macro style
+
+-------------------------------------------------------------------

Old:
----
  php5-redis.changes
  php5-redis.spec
  phpredis-3.1.2.tar.gz

New:
----
  redis-3.1.3.tgz
  redis.ini

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

Other differences:
------------------
++++++ php7-redis.spec ++++++
--- /var/tmp/diff_new_pack.guuVlE/_old  2017-08-24 18:46:29.235363614 +0200
+++ /var/tmp/diff_new_pack.guuVlE/_new  2017-08-24 18:46:29.235363614 +0200
@@ -17,21 +17,21 @@
 
 
 %define php_name    php7
-%define pkg_name    phpredis
-Name:           php7-redis
-Version:        3.1.2
+%define pkg_name    redis
+Name:           %{php_name}-%{pkg_name}
+Version:        3.1.3
 Release:        0
-Summary:        Interface for communicating with the Redis key-value store
+Summary:        API for communicating with Redis servers
 License:        PHP-3.01
 Group:          Productivity/Networking/Web/Servers
-Url:            https://github.com/phpredis/phpredis
-Source0:        
https://github.com/phpredis/%{pkg_name}/archive/%{version}.tar.gz#/%{pkg_name}-%{version}.tar.gz
-BuildRequires:  %{php_name}
-BuildRequires:  %{php_name}-devel
+Url:            https://pecl.php.net/package/%{pkg_name}
+Source0:        https://pecl.php.net/get/%{pkg_name}-%{version}.tgz
+Source1:        %{pkg_name}.ini
+BuildRequires:  %{php_name}-devel >= 7.0.1
 BuildRequires:  %{php_name}-soap
+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}
@@ -40,46 +40,32 @@
 %endif
 
 %description
-The phpredis extension provides an API for communicating with the Redis 
key-value store.
+This extension provides an API for communicating with Redis servers
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
-mkdir %{name}
 
 %build
 %{_bindir}/phpize
-pushd %{name}
-export CFLAGS="%{optflags}"
-../configure --enable-phpredis
-sed -i -e 's|PHP_EXECUTABLE = %{_bindir}/php-cgi|PHP_EXECUTABLE = 
%{_bindir}/php|' Makefile
+%configure
 make %{?_smp_mflags}
-popd
 
-%install
-make DESTDIR=%{buildroot} install %{?_smp_mflags} -C %{name} 
INSTALL_ROOT=%{buildroot}
-mkdir -p %{buildroot}%{_sysconfdir}/%{php_name}/conf.d
-echo "extension=redis.so" > 
%{buildroot}%{_sysconfdir}/%{php_name}/conf.d/redis.ini
+%{__phpize}
+%configure
+make %{?_smp_mflags}
 
 %check
-# only check if the extension can be loaded
-%{_bindir}/php \
-    --no-php-ini \
-    --define extension=%{buildroot}%{_libdir}/%{php_name}/extensions/redis.so \
-    --modules | grep redis
-
-if [ -x %{_bindir}/zts-php ] ; then
-%{_bindir}/zts-php \
-    --no-php-ini \
-    --define extension=%{buildroot}%{_libdir}/%{php_name}/extensions/redis.so \
-    --modules | grep redis
-fi
+make %{?_smp_mflags} PHP_EXECUTABLE=%{__php} NO_INTERACTION=1 test
 
-# other tests qhich require redis can not be run
+%install
+make DESTDIR=%{buildroot} install INSTALL_ROOT=%{buildroot}
+mkdir -p %{buildroot}%{_sysconfdir}/%{php_name}/conf.d
+install -m644 %{SOURCE1} 
%{buildroot}%{_sysconfdir}/%{php_name}/conf.d/%{pkg_name}.ini
 
 %files
-%defattr(-,root,root,-)
-%{_libdir}/%{php_name}/extensions/redis.so
-%config(noreplace) %{_sysconfdir}/%{php_name}/conf.d/redis.ini
-%doc COPYING CREDITS
+%defattr(0644,root,root,-)
+%{_libdir}/%{php_name}/extensions/%{pkg_name}.so
+%config(noreplace) %{_sysconfdir}/%{php_name}/conf.d/%{pkg_name}.ini
+%doc COPYING CREDITS README.markdown
 
 %changelog

++++++ redis.ini ++++++
; comment out next line to disable redis extension in php
extension=redis.so

Reply via email to