summaryrefslogtreecommitdiffstats
path: root/php-pecl-wddx.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-wddx.spec')
-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