summaryrefslogtreecommitdiffstats
path: root/php-pecl-redis4.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-03-19 16:43:03 +0100
committerRemi Collet <remi@remirepo.net>2018-03-19 16:43:03 +0100
commit71f9bcb4638b90a6542aa6d0f36d283326f51c05 (patch)
tree1ba9726620ee42a0b0bcafc253724c34926fd3fe /php-pecl-redis4.spec
parent674a1d0f85eb6175bb3d5090784c95c767648135 (diff)
v4.0.0 (stable)
Diffstat (limited to 'php-pecl-redis4.spec')
-rw-r--r--php-pecl-redis4.spec11
1 files changed, 7 insertions, 4 deletions
diff --git a/php-pecl-redis4.spec b/php-pecl-redis4.spec
index a537127..bb28491 100644
--- a/php-pecl-redis4.spec
+++ b/php-pecl-redis4.spec
@@ -29,7 +29,7 @@
%global ini_name 50-%{pecl_name}.ini
%endif
%global upstream_version 4.0.0
-%global upstream_prever RC2
+#global upstream_prever RC2
Summary: Extension for communicating with the Redis key-value store
Name: %{?sub_prefix}php-pecl-redis4
@@ -39,7 +39,7 @@ Source0: http://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstre
License: PHP
URL: http://pecl.php.net/package/redis
-BuildRequires: %{?dtsprefix}gcc
+BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?scl_prefix}php-devel
BuildRequires: %{?scl_prefix}php-pear
%if %{with_igbin}
@@ -64,7 +64,7 @@ Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version}
Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version}
Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version}
-%if 0%{?fedora} >= 29
+%if 0%{?fedora} >= 29 || 0%{?rhel} >= 8
Obsoletes: %{?scl_prefix}php-pecl-%{pecl_name} < 4
Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}-%{release}
Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{release}
@@ -286,7 +286,7 @@ exit $ret
%endif
-%if 0%{?fedora} < 24
+%if 0%{?fedora} < 24 && 0%{?rhel} < 8
# when pear installed alone, after us
%triggerin -- %{?scl_prefix}php-pear
if [ -x %{__pecl} ] ; then
@@ -321,6 +321,9 @@ fi
%changelog
+* Mon Mar 19 2018 Remi Collet <remi@remirepo.net> - 4.0.0-1
+- update to 4.0.0 (stable)
+
* Sat Mar 3 2018 Remi Collet <remi@remirepo.net> - 4.0.0~RC2-1
- update to 4.0.0RC2