From e0a03d275c897f53ad6ac7dc8264596c4f965538 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 13 Sep 2019 15:27:05 +0200 Subject: add patch for 7.4 from https://github.com/zendframework/zend-i18n/pull/114 (cherry picked from commit ce2e9e5e6c3bcba4e76fd84e1b053298172b49e3) --- php-zendframework-zend-i18n.spec | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to 'php-zendframework-zend-i18n.spec') diff --git a/php-zendframework-zend-i18n.spec b/php-zendframework-zend-i18n.spec index c2ac759..1ae31fb 100644 --- a/php-zendframework-zend-i18n.spec +++ b/php-zendframework-zend-i18n.spec @@ -21,7 +21,7 @@ Name: php-%{gh_owner}-%{gh_project} Version: 2.9.0 -Release: 1%{?dist} +Release: 3%{?dist} Summary: Zend Framework %{library} component Group: Development/Libraries @@ -30,6 +30,8 @@ URL: https://zendframework.github.io/%{gh_project}/ Source0: %{gh_commit}/%{name}-%{version}-%{gh_short}.tgz Source1: makesrc.sh +Patch0: https://patch-diff.githubusercontent.com/raw/zendframework/zend-i18n/pull/114.patch + BuildArch: noarch # Tests %if %{with_tests} @@ -98,6 +100,7 @@ Documentation: https://zendframework.github.io/%{gh_project}/ %prep %setup -q -n %{gh_project}-%{gh_commit} +%patch0 -p1 mv LICENSE.md LICENSE @@ -132,10 +135,14 @@ require_once '%{php_home}/Zend/autoload.php'; EOF ret=0 -for cmdarg in "php %{phpunit}" php70 php71 php72; do +for cmdarg in "php %{phpunit}" php71 php72 php73 php74; do if which $cmdarg; then set $cmdarg - $1 ${2:-%{_bindir}/phpunit6} --verbose || ret=1 + $1 ${2:-%{_bindir}/phpunit6} \ +%if 0%{?fedora} >= 29 || 0%{?rhel} >= 8 + --filter '^((?!(testSettersProvideDefaults|testBasic)).)*$' \ +%endif + --verbose || ret=1 fi done exit $ret @@ -153,6 +160,10 @@ exit $ret %changelog +* Fri Sep 13 2019 Remi Collet - 2.9.0-3 +- add patch for 7.4 from + https://github.com/zendframework/zend-i18n/pull/114 + * Wed May 23 2018 Remi Collet - 2.9.0-1 - update to 2.9.0 -- cgit