From bffc743d0162f1eba12c87e0579cb98fb4ef8dd9 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 12 Apr 2021 07:57:45 +0200 Subject: update to 1.1.0 --- php-pecl-psr.spec | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) (limited to 'php-pecl-psr.spec') diff --git a/php-pecl-psr.spec b/php-pecl-psr.spec index e552efe..4ef50b3 100644 --- a/php-pecl-psr.spec +++ b/php-pecl-psr.spec @@ -1,6 +1,6 @@ # remirepo spec file for php-pecl-psr # -# Copyright (c) 2017-2020 Remi Collet +# Copyright (c) 2017-2021 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -19,7 +19,7 @@ %global with_zts 0%{!?_without_zts:%{?__ztsphp:1}} %global with_tests 0%{!?_without_tests:1} %global ini_name 40-%{pecl_name}.ini -%global upstream_version 1.0.1 +%global upstream_version 1.1.0 #global upstream_prever RC4 Summary: PSR interfaces @@ -30,6 +30,7 @@ Source0: https://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstr License: BSD URL: https://pecl.php.net/package/psr +BuildRequires: make BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel >= 7.0 BuildRequires: %{?scl_prefix}php-pear @@ -49,29 +50,18 @@ Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{relea %if "%{?packager}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel} # Other third party repo stuff -%if "%{php_version}" > "7.2" -Obsoletes: php72u-pecl-%{pecl_name} <= %{version} -Obsoletes: php72w-pecl-%{pecl_name} <= %{version} -%endif %if "%{php_version}" > "7.3" Obsoletes: php73-pecl-%{pecl_name} <= %{version} Obsoletes: php73w-pecl-%{pecl_name} <= %{version} %endif %if "%{php_version}" > "7.4" Obsoletes: php74-pecl-%{pecl_name} <= %{version} -Obsoletes: php74w-pecl-%{pecl_name} <= %{version} %endif %if "%{php_version}" > "8.0" Obsoletes: php80-pecl-%{pecl_name} <= %{version} %endif %endif -%if 0%{?fedora} < 20 && 0%{?rhel} < 7 -# Filter private shared object -%{?filter_provides_in: %filter_provides_in %{_libdir}/.*\.so$} -%{?filter_setup} -%endif - %description This extension provides the accepted PSR interfaces, @@ -104,7 +94,7 @@ mv %{pecl_name}-%{upstream_version}%{?upstream_prever} NTS cd NTS # Sanity check, really often broken -extver=$(sed -n '/#define PHP_PSR_VERSION/{s/.* "//;s/".*$//;p}' php_psr.h) +extver=$(sed -n '/#define PHP_PSR_VERSION /{s/.* "//;s/".*$//;p}' php_psr.h) if test "x${extver}" != "x%{upstream_version}%{?upstream_prever}"; then : Error: Upstream extension version is ${extver}, expecting %{upstream_version}%{?upstream_prever}. exit 1 @@ -248,6 +238,9 @@ fi %changelog +* Mon Apr 12 2021 Remi Collet - 1.1.0-1 +- update to 1.1.0 + * Fri Nov 13 2020 Remi Collet - 1.0.1-1 - update to 1.0.1 - drop patch merged upstream -- cgit