diff options
author | Remi Collet <remi@remirepo.net> | 2017-10-31 07:55:40 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2017-10-31 07:55:40 +0100 |
commit | 2f8ebdc3304e5d8bf3f240ebe636fb6e1d48b786 (patch) | |
tree | 93331574c1a6d0cfb8556c2bcaa1b53a0a36f2c1 /php-zendframework-zend-validator.spec | |
parent | 4db02eb673ce396ef41c47a1be0ccac1982929ca (diff) |
fix FTBFS from Koschei, add patch for test with 7.2 from https://github.com/zendframework/zend-validator/pull/205
Diffstat (limited to 'php-zendframework-zend-validator.spec')
-rw-r--r-- | php-zendframework-zend-validator.spec | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/php-zendframework-zend-validator.spec b/php-zendframework-zend-validator.spec index 4a02e39..d5173ce 100644 --- a/php-zendframework-zend-validator.spec +++ b/php-zendframework-zend-validator.spec @@ -21,7 +21,7 @@ Name: php-%{gh_owner}-%{gh_project} Version: 2.10.1 -Release: 1%{?dist} +Release: 2%{?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-validator/pull/205.patch + BuildArch: noarch # Tests %if %{with_tests} @@ -130,6 +132,7 @@ Documentation: https://zendframework.github.io/%{gh_project}/ %prep %setup -q -n %{gh_project}-%{gh_commit} +%patch0 -p1 -b .pr205 mv LICENSE.md LICENSE @@ -162,7 +165,7 @@ EOF # PHP 7.2 https://github.com/zendframework/zend-validator/issues/196 ret=0 -for cmdarg in "php %{phpunit}" "php56 %{_bindir}/phpunit" php70 php71; do +for cmdarg in "php %{phpunit}" "php56 %{_bindir}/phpunit" php70 php71 php72; do if which $cmdarg; then set $cmdarg $1 ${2:-%{_bindir}/phpunit6} --verbose || ret=1 @@ -183,6 +186,10 @@ exit $ret %changelog +* Tue Oct 31 2017 Remi Collet <remi@remirepo.net> - 2.10.1-2 +- fix FTBFS from Koschei, add patch for test with 7.2 from + https://github.com/zendframework/zend-validator/pull/205 + * Wed Aug 23 2017 Remi Collet <remi@remirepo.net> - 2.10.1-1 - Update to 2.10.1 |