summaryrefslogtreecommitdiffstats
path: root/php-pecl-yaml.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-11-30 19:31:06 +0100
committerRemi Collet <fedora@famillecollet.com>2012-11-30 19:31:06 +0100
commitcdf44a14d2858a5fb93ff47a9354812174ec8f47 (patch)
treebc84edf368393600a10f71381a25c904aa1daeb0 /php-pecl-yaml.spec
parent930db167b21598d76b653a5494d2cdfc6ed9dd9a (diff)
php-pecl-yaml: also provides php-yaml
Diffstat (limited to 'php-pecl-yaml.spec')
-rw-r--r--php-pecl-yaml.spec22
1 files changed, 17 insertions, 5 deletions
diff --git a/php-pecl-yaml.spec b/php-pecl-yaml.spec
index 0b7fa38..2b00b61 100644
--- a/php-pecl-yaml.spec
+++ b/php-pecl-yaml.spec
@@ -5,7 +5,7 @@
Summary: PHP Bindings for yaml
Name: php-pecl-yaml
Version: 1.1.0
-Release: 2%{?dist}
+Release: 2%{?dist}.1
License: MIT
Group: Development/Languages
URL: http://pecl.php.net/package/yaml
@@ -19,15 +19,24 @@ BuildRequires: libyaml-devel
Requires(post): %{__pecl}
Requires(postun): %{__pecl}
-Provides: php-pecl(%{pecl_name}) = %{version}
Requires: php(zend-abi) = %{php_zend_api}
Requires: php(api) = %{php_core_api}
-# 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
+
+# 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
@@ -151,6 +160,9 @@ fi
%changelog
+* Fri Nov 30 2012 Remi Collet <RPMS@FamilleCollet.com> - 1.1.0-2.1
+- also provides php-yaml
+
* Fri Apr 20 2012 Remi Collet <RPMS@FamilleCollet.com> - 1.1.0-2
- update to 1.0.1 for php 5.4