@@ -1,23 +1,8 @@
---- php5-redis.changes.orig
-+++ php5-redis.changes
-@@ -1,4 +1,9 @@
- -------------------------------------------------------------------
-+Mon Jul 3 13:41:41 UTC 2017 - cs@linux-administrator.com
-+
-+- update to 3.1.3RC2
-+
-+-------------------------------------------------------------------
- Sun Apr 2 13:29:26 UTC 2017 - cs@linux-administrator.com
-
- - update to release 3.1.2
--- php5-redis.spec.orig
+++ php5-redis.spec
-@@ -1,17 +1,26 @@
- # norootforbuild
- %define pkg_name redis
+@@ -3,15 +3,24 @@
%define php_version %(php-config --version 2>/dev/null || echo PHPCONFIG_NOT_FOUND)
--%define pkg_version 3.1.1
-+%define pkg_version 3.1.3RC2
+ %define pkg_version 3.1.3
#
+%if "%{php_version}" >= "5.7"
+%define my_version 3.1.3
@@ -30,7 +15,7 @@
+%endif
BuildPreReq: coreutils awk
-Name: php5-redis
--Version: 3.1.2
+-Version: 3.1.3
+Name: php7-redis
+Version: %{my_version}
Release: 1
|