summaryrefslogtreecommitdiffstats
path: root/php-zendframework-zend-i18n.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-zendframework-zend-i18n.spec')
-rw-r--r--php-zendframework-zend-i18n.spec13
1 files changed, 10 insertions, 3 deletions
diff --git a/php-zendframework-zend-i18n.spec b/php-zendframework-zend-i18n.spec
index b38cb28..a9f19b8 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: 2%{?dist}
+Release: 6%{?dist}
Summary: Zend Framework %{library} component
License: BSD
@@ -29,6 +29,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}
@@ -149,6 +151,7 @@ Documentation: https://zendframework.github.io/%{gh_project}/
%prep
%setup -q -n %{gh_project}-%{gh_commit}
+%patch0 -p1
mv LICENSE.md LICENSE
@@ -192,11 +195,11 @@ require_once '%{buildroot}%{php_home}/Zend/%{library}/autoload.php';
EOF
ret=0
-for cmdarg in "php %{phpunit}" "php70 %{_bindir}/phpunit6" php71 php72; do
+for cmdarg in "php %{phpunit}" php71 php72 php73 php74; do
if which $cmdarg; then
set $cmdarg
$1 ${2:-%{_bindir}/phpunit7} \
-%if 0%{?fedora} >= 29
+%if 0%{?fedora} >= 29 || 0%{?rhel} >= 8
--filter '^((?!(testSettersProvideDefaults|testBasic)).)*$' \
%endif
--verbose || ret=1
@@ -217,6 +220,10 @@ exit $ret
%changelog
+* Fri Sep 13 2019 Remi Collet <remi@remirepo.net> - 2.9.0-6
+- add patch for 7.4 from
+ https://github.com/zendframework/zend-i18n/pull/114
+
* Wed May 23 2018 Remi Collet <remi@remirepo.net> - 2.9.0-2
- update to 2.9.0
- skip test failing with libicu 61, reported as