summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-11-30 19:56:21 +0100
committerRemi Collet <fedora@famillecollet.com>2012-11-30 19:56:21 +0100
commit8801c55f65e3db9167042b1282de55bd1b9da318 (patch)
tree9c0181179afc5b295431ad956e7e4e1f6a9f6746
parent70402f4dd3102cecfcd586ff7ae4c1af8c95770e (diff)
php-pecl-gearman: also provides php-gearman
-rw-r--r--php-pecl-gearman-dev.spec24
1 files changed, 19 insertions, 5 deletions
diff --git a/php-pecl-gearman-dev.spec b/php-pecl-gearman-dev.spec
index 165de19..e7da146 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}
+Release: 1%{?dist}.1
Summary: PHP wrapper to libgearman
Group: Development/Tools
@@ -31,13 +31,24 @@ Requires: php(api) = %{php_core_api}
Requires(post): %{__pecl}
Requires(postun): %{__pecl}
-Provides: php-pecl(%{pecl_name}) = %{version}
+Provides: php-%{pecl_name} = %{version}
+Provides: php-%{pecl_name}%{?_isa} = %{version}
+Provides: php-pecl(%{pecl_name}) = %{version}
+Provides: php-pecl(%{pecl_name})%{?_isa} = %{version}
-# RPM 4.8
+# 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
@@ -130,6 +141,9 @@ fi
%changelog
+* Fri Nov 30 2012 Remi Collet <remi@fedoraproject.org> - 1.0.3-1.1
+- also provides php-gearman
+
* Sun Aug 05 2012 Remi Collet <remi@fedoraproject.org> - 1.0.3-1
- update to 1.0.3
- add missing provides php-pecl(gearman)