summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-07-12 15:29:09 +0200
committerRemi Collet <remi@remirepo.net>2019-07-12 15:29:09 +0200
commit60d88094b35a8f98a3e63cdee8742dd72849461a (patch)
tree1dfaaf456de91fa601a904ed2806da23e2a324bc
parent81fcf01e8ff5b157e03636745c578f199aac7424 (diff)
fix upgrade path
-rw-r--r--php-pecl-wddx.spec11
1 files changed, 8 insertions, 3 deletions
diff --git a/php-pecl-wddx.spec b/php-pecl-wddx.spec
index 278283c..9fe6d64 100644
--- a/php-pecl-wddx.spec
+++ b/php-pecl-wddx.spec
@@ -35,7 +35,7 @@
Summary: Web Distributed Data Exchange
Name: %{?sub_prefix}php-pecl-%{pecl_name}
Version: %{upver}%{?lower:~%{lower}}%{?gh_date:.%{gh_date}}
-Release: 3%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 4%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
License: PHP
URL: http://pecl.php.net/package/%{pecl_name}
@@ -51,8 +51,10 @@ Requires: %{?scl_prefix}php(api) = %{php_core_api}
Requires: %{?scl_prefix}php-xml%{?_isa}
%{?_sclreq:Requires: %{?scl_prefix}runtime%{?_sclreq}%{?_isa}}
-Provides: %{?scl_prefix}php-%{pecl_name} = %{version}
-Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version}
+# Set epoch so provides is > 0:7.3
+Obsoletes: %{?scl_prefix}php-%{pecl_name} < 7.4.0
+Provides: %{?scl_prefix}php-%{pecl_name} = 1:%{version}
+Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = 1:%{version}
Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version}
Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version}
%if "%{?scl_prefix}" != "%{?sub_prefix}"
@@ -196,6 +198,9 @@ REPORT_EXIT_STATUS=1 \
%changelog
+* Fri Jul 12 2019 Remi Collet <remi@remirepo.net> - 1.0.0~DEV.20190320-4
+- fix upgrade path
+
* Wed May 29 2019 Remi Collet <remi@remirepo.net> - 1.0.0~DEV.20190320-3
- rebuild