summaryrefslogtreecommitdiffstats
path: root/php-pecl-selinux.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-selinux.spec')
-rw-r--r--php-pecl-selinux.spec20
1 files changed, 15 insertions, 5 deletions
diff --git a/php-pecl-selinux.spec b/php-pecl-selinux.spec
index 70665e3..8b85616 100644
--- a/php-pecl-selinux.spec
+++ b/php-pecl-selinux.spec
@@ -5,7 +5,7 @@
Summary: SELinux binding for PHP scripting language
Name: php-pecl-selinux
Version: 0.3.1
-Release: 7%{?dist}.1
+Release: 9%{?dist}
License: PHP
Group: Development/Languages
URL: http://pecl.php.net/package/%{pecl_name}
@@ -19,13 +19,20 @@ Requires(post): %{__pecl}
Requires(postun): %{__pecl}
Requires: php(zend-abi) = %{php_zend_api}
Requires: php(api) = %{php_core_api}
-Provides: php-pecl(%{pecl_name}) = %{version}-%{release}
-# RPM 4.8
+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|}%{_dir}/.*\\.so$
%description
@@ -109,6 +116,9 @@ fi
%changelog
+* Sun Oct 21 2012 Remi Collet <RPMS@FamilleCollet.com> - 0.3.1-9
+- bump release (fedora >= 17 rebuild)
+
* Mon Dec 12 2011 Remi Collet <RPMS@FamilleCollet.com> - 0.3.1-7.1
- bump release (f16 rebuild)