summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-pecl-geoip.spec11
1 files changed, 7 insertions, 4 deletions
diff --git a/php-pecl-geoip.spec b/php-pecl-geoip.spec
index c65eaea..cb20fa8 100644
--- a/php-pecl-geoip.spec
+++ b/php-pecl-geoip.spec
@@ -4,7 +4,7 @@
Name: php-pecl-geoip
Version: 1.0.8
-Release: 3%{?dist}.4
+Release: 3%{?dist}.5
Summary: Extension to map IP addresses to geographic places
Group: Development/Languages
License: PHP
@@ -30,10 +30,13 @@ Provides: php-pecl(%{pecl_name}) = %{version}
Provides: php-pecl(%{pecl_name})%{?_isa} = %{version}
# Other third party repo stuff
-Obsoletes: php53-pecl-geoip
-Obsoletes: php53u-pecl-geoip
+Obsoletes: php53-pecl-%{pecl_name}
+Obsoletes: php53u-pecl-%{pecl_name}
%if "%{php_version}" > "5.4"
-Obsoletes: php54-pecl-geoip
+Obsoletes: php54-pecl-%{pecl_name}
+%endif
+%if "%{php_version}" > "5.5"
+Obsoletes: php55-pecl-%{pecl_name}
%endif
# Filter private shared