summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2013-06-17 18:06:46 +0200
committerRemi Collet <fedora@famillecollet.com>2013-06-17 18:06:46 +0200
commit775c0ac1b50286bb4888ede224578848a2814b7f (patch)
tree1fcaaad3618a8473780d4f7b1b79e558ccb4b1d0
parent2e0e04b9ed80e7870cabab89d8553caa23b648a5 (diff)
php-pecl-redis: switch to remi spec
-rw-r--r--php-pecl-redis.spec (renamed from php-pecl-redis-dev.spec)18
1 files changed, 17 insertions, 1 deletions
diff --git a/php-pecl-redis-dev.spec b/php-pecl-redis.spec
index 116d7a1..3e8537b 100644
--- a/php-pecl-redis-dev.spec
+++ b/php-pecl-redis.spec
@@ -1,8 +1,16 @@
+# spec file for php-pecl-redis
+#
+# Copyright (c) 2012-2013 Remi Collet
+# License: CC-BY-SA
+# http://creativecommons.org/licenses/by-sa/3.0/
+#
+# Please, preserve the changelog entries
+#
%{!?__pecl: %{expand: %%global __pecl %{_bindir}/pecl}}
%global pecl_name redis
-%if 0%{?fedora} >= 18
+%if 0%{?fedora} >= 17 || 0%{?rhel} >= 6
%ifarch ppc64
# redis have ExcludeArch: ppc64
%global with_test 0
@@ -43,6 +51,14 @@ Provides: php-redis%{?_isa} = %{version}-%{release}
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}
+Obsoletes: php54-pecl-%{pecl_name}
+%if "%{php_version}" > "5.5"
+Obsoletes: php55-pecl-%{pecl_name}
+%endif
+
# Filter private shared object
%{?filter_provides_in: %filter_provides_in %{_libdir}/.*\.so$}
%{?filter_setup}