From e88a9355493419eb2787b8588bff652b839fafc0 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 23 May 2019 10:50:00 +0200 Subject: minor --- php-pecl-interbase.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/php-pecl-interbase.spec b/php-pecl-interbase.spec index 1908ea6..cd886cd 100644 --- a/php-pecl-interbase.spec +++ b/php-pecl-interbase.spec @@ -41,17 +41,18 @@ URL: http://pecl.php.net/package/%{pecl_name} Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{pecl_name}-%{upver}-%{gh_short}.tar.gz BuildRequires: %{?dtsprefix}gcc -BuildRequires: %{?scl_prefix}php-devel > 7 +BuildRequires: %{?scl_prefix}php-devel > 7.4 BuildRequires: %{?scl_prefix}php-pear BuildRequires: firebird-devel Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} Requires: %{?scl_prefix}php(api) = %{php_core_api} -# ensure php-interbase pull both extension as in previous version +# ensure php-interbase pull both extensions as in previous version Requires: %{?scl_prefix}php-pdo-firebird%{?_isa} %{?_sclreq:Requires: %{?scl_prefix}runtime%{?_sclreq}%{?_isa}} # Set epoch so provides is > 0:7.3 +Obsoletes: %{?scl_prefix}php-%{pecl_name} < 7.4 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} -- cgit