From 6a11ad0583f99f6da3e51d70efddecec4e84e2f4 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 1 Jun 2022 09:02:33 +0200 Subject: update to 5.0.0RC1 drop dependency on psr extension --- php-phalcon5.spec | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'php-phalcon5.spec') diff --git a/php-phalcon5.spec b/php-phalcon5.spec index a64f3a9..763380b 100644 --- a/php-phalcon5.spec +++ b/php-phalcon5.spec @@ -20,13 +20,14 @@ %global with_zts 0%{!?_without_zts:%{?__ztsphp:1}} %global pecl_name phalcon -# after 40-json.ini, 20-pdo.ini, 40-psr.ini +# after 40-json.ini, 20-pdo.ini %global ini_name 50-%{pecl_name}.ini %global upstream_ver 5.0.0 -%global upstream_pre beta3 +%global upstream_pre RC1 +%global upstream_low rc1 Name: %{?scl_prefix}php-phalcon5 -Version: %{upstream_ver}%{?upstream_pre:~%{upstream_pre}} +Version: %{upstream_ver}%{?upstream_pre:~%{upstream_low}} Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} Summary: Phalcon Framework @@ -40,19 +41,17 @@ Source0: https://pecl.php.net/get/%{pecl_name}-%{upstream_ver}%{?upstream BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel >= 7.4.1 -BuildRequires: %{?scl_prefix}php-devel < 8.1 +BuildRequires: %{?scl_prefix}php-devel < 8.2 BuildRequires: %{?scl_prefix}php-pear BuildRequires: %{?scl_prefix}php-hash BuildRequires: %{?scl_prefix}php-json BuildRequires: %{?scl_prefix}php-pdo -BuildRequires: %{?scl_prefix}php-pecl-psr-devel >= 1.1.0 Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} Requires: %{?scl_prefix}php(api) = %{php_core_api} Requires: %{?scl_prefix}php-hash%{?_isa} Requires: %{?scl_prefix}php-json%{?_isa} Requires: %{?scl_prefix}php-pdo%{?_isa} -Requires: %{?scl_prefix}php-psr%{?_isa} >= 1.1.0 %{?_sclreq:Requires: %{?scl_prefix}runtime%{?_sclreq}%{?_isa}} Provides: %{?scl_prefix}php-phalcon = %{version}-%{release} @@ -182,7 +181,7 @@ done %check # Shared needed extensions modules="" -for mod in hash json pdo psr; do +for mod in hash json pdo; do if [ -f %{php_extdir}/${mod}.so ]; then modules="$modules -d extension=${mod}.so" fi @@ -251,6 +250,10 @@ fi %changelog +* Wed Jun 1 2022 Remi Collet - 5.0.0~rc1-1 +- update to 5.0.0RC1 +- drop dependency on psr extension + * Mon Feb 7 2022 Remi Collet - 5.0.0~beta3-1 - update to 5.0.0beta3 -- cgit