summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-08-29 10:04:41 +0200
committerRemi Collet <fedora@famillecollet.com>2014-08-29 10:04:41 +0200
commit5042b970223dc15a86e9ef7ba328500d94ca9de8 (patch)
tree4a999f0b6818acd0bc1d2ef886a1fd1d0b2acb89
parente65ef80bae481f0a6665d1e8e44048c4e1bf1ff1 (diff)
php-pecl-memcached: buld fix for php56 SCL
-rw-r--r--php-pecl-memcached.spec9
1 files changed, 6 insertions, 3 deletions
diff --git a/php-pecl-memcached.spec b/php-pecl-memcached.spec
index d8b70ee..2ac5601 100644
--- a/php-pecl-memcached.spec
+++ b/php-pecl-memcached.spec
@@ -29,7 +29,7 @@
Summary: Extension to work with the Memcached caching daemon
Name: %{?scl_prefix}php-pecl-memcached
Version: 2.2.0
-Release: 3%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
+Release: 4%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
# memcached is PHP, FastLZ is MIT
License: PHP and MIT
Group: Development/Languages
@@ -52,7 +52,7 @@ BuildRequires: cyrus-sasl-devel
BuildRequires: memcached
%endif
-%if 0%{?scl:1} && 0%{?fedora} < 15 && 0%{?rhel} < 7
+%if 0%{?scl:1} && 0%{?fedora} < 15 && 0%{?rhel} < 7 && "%{?scl_vendor}" != "remi"
# Filter in the SCL collection
%{?filter_requires_in: %filter_requires_in %{_libdir}/.*\.so}
# libvent from SCL as not available in system
@@ -86,7 +86,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 "%{?vendor}" == "Remi Collet"
+%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1}
# Other third party repo stuff
Obsoletes: php53-pecl-%{pecl_name}
Obsoletes: php53u-pecl-%{pecl_name}
@@ -301,6 +301,9 @@ exit $ret
%changelog
+* Fri Aug 29 2014 Remi Collet <rcollet@redhat.com> - 2.2.0-4
+- improve SCL build
+
* Wed Apr 9 2014 Remi Collet <remi@fedoraproject.org> - 2.2.0-3
- add numerical prefix to extension configuration file