diff options
-rw-r--r-- | php-pecl-gearman-dev.spec | 2 | ||||
-rw-r--r-- | php-pecl-gearman.spec | 23 |
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 |