From 63bd3489219887596102dd41cf39325cb49bb571 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 4 Nov 2021 07:50:09 +0100 Subject: update to 5.1.3 --- php-sabre-event5.spec | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'php-sabre-event5.spec') diff --git a/php-sabre-event5.spec b/php-sabre-event5.spec index 2b3fd89..794d287 100644 --- a/php-sabre-event5.spec +++ b/php-sabre-event5.spec @@ -10,7 +10,7 @@ %bcond_without tests # Github -%global gh_commit c120bec57c17b6251a496efc82b732418b49d50a +%global gh_commit 6d86fd14779c58e956f0b2b0496cf3f7f06da177 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner sabre-io %global gh_project event @@ -25,7 +25,7 @@ Name: php-%{pk_vendor}-%{pk_project}%{major} Summary: Lightweight library for event-based programming -Version: 5.1.2 +Version: 5.1.3 Release: 1%{?dist} URL: http://sabre.io/event @@ -38,16 +38,11 @@ BuildArch: noarch BuildRequires: php(language) >= 7.1 BuildRequires: php-spl # From composer.json, "require-dev": { -# "friendsofphp/php-cs-fixer": "~2.16.1", +# "friendsofphp/php-cs-fixer": "~2.17.1", # "phpstan/phpstan": "^0.12", # "phpunit/phpunit" : "^7.5 || ^8.5 || ^9.0" -%if 0%{?fedora} >= 31 || 0%{?rhel} >= 9 BuildRequires: phpunit9 %global phpunit %{_bindir}/phpunit9 -%else -BuildRequires: phpunit8 -%global phpunit %{_bindir}/phpunit8 -%endif # Autoloader BuildRequires: php-composer(fedora/autoloader) %endif @@ -106,7 +101,7 @@ cp -pr lib %{buildroot}%{_datadir}/php/%{ns_vendor}/%{ns_project}%{major} %if %{with tests} : Run upstream test suite against installed library ret=0 -for cmdarg in "php %{phpunit}" "php72 %{_bindir}/phpunit8" php73 php74 php80; do +for cmdarg in "php %{phpunit}" php73 php74 php80 php81; do if which $cmdarg; then set $cmdarg $1 ${2:-%{_bindir}/phpunit9} \ @@ -132,6 +127,9 @@ exit $ret %changelog +* Thu Nov 4 2021 Remi Collet - 5.1.3-1 +- update to 5.1.3 + * Mon Oct 5 2020 Remi Collet - 5.1.2-1 - update to 5.1.2 -- cgit