From 60d88094b35a8f98a3e63cdee8742dd72849461a Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 12 Jul 2019 15:29:09 +0200 Subject: fix upgrade path --- php-pecl-wddx.spec | 11 ++++++++--- 1 file 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 - 1.0.0~DEV.20190320-4 +- fix upgrade path + * Wed May 29 2019 Remi Collet - 1.0.0~DEV.20190320-3 - rebuild -- cgit