summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2013-03-21 11:21:01 +0100
committerRemi Collet <fedora@famillecollet.com>2013-03-21 11:21:01 +0100
commit2f61c9e74c3729dfe6a9ef8858c0af3ee4752df4 (patch)
tree15d478d3391e7bf4514b97aed2d662bc0557aebd
parent19a92a449808e75cc54397f54d6614efdc16845a (diff)
php extensions rebuild for php 5.5 (round 2)
-rw-r--r--php-pecl-gearman-dev.spec2
-rw-r--r--php-pecl-gearman.spec23
2 files changed, 18 insertions, 7 deletions
diff --git a/php-pecl-gearman-dev.spec b/php-pecl-gearman-dev.spec
index e25c8ba..933a5a4 100644
--- a/php-pecl-gearman-dev.spec
+++ b/php-pecl-gearman-dev.spec
@@ -5,7 +5,7 @@
Name: php-pecl-gearman
Version: 1.0.3
-Release: 1%{?dist}.3
+Release: 1%{?dist}.4
Summary: PHP wrapper to libgearman
Group: Development/Tools
diff --git a/php-pecl-gearman.spec b/php-pecl-gearman.spec
index 542e587..3a9087c 100644
--- a/php-pecl-gearman.spec
+++ b/php-pecl-gearman.spec
@@ -5,7 +5,7 @@
Name: php-pecl-gearman
Version: 0.8.3
-Release: 1%{?dist}
+Release: 1%{?dist}.1
Summary: PHP wrapper to libgearman
Group: Development/Tools
@@ -26,13 +26,24 @@ Requires: php(api) = %{php_core_api}
Requires(post): %{__pecl}
Requires(postun): %{__pecl}
-Provides: php-pecl(%{pecl_name}) = %{version}
-
-# RPM 4.8
+Provides: php-%{pecl_name} = %{version}
+Provides: php-%{pecl_name}%{?_isa} = %{version}
+Provides: php-pecl(%{pecl_name}) = %{version}
+Provides: php-pecl(%{pecl_name})%{?_isa} = %{version}
+
+# Other third party repo stuff
+Obsoletes: php53-pecl-%{pecl_name}
+Obsoletes: php53u-pecl-%{pecl_name}
+%if "%{php_version}" > "5.4"
+Obsoletes: php54-pecl-%{pecl_name}
+%endif
+%if "%{php_version}" > "5.5"
+Obsoletes: php55-pecl-%{pecl_name}
+%endif
+
+# Filter private shared
%{?filter_provides_in: %filter_provides_in %{_libdir}/.*\.so$}
%{?filter_setup}
-# RPM 4.9
-%global __provides_exclude_from %{?__provides_exclude_from:%__provides_exclude_from|}%{_libdir}/.*\\.so$
%description