summaryrefslogtreecommitdiffstats
path: root/php-zendframework-zend-file.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-zendframework-zend-file.spec')
-rw-r--r--php-zendframework-zend-file.spec11
1 files changed, 9 insertions, 2 deletions
diff --git a/php-zendframework-zend-file.spec b/php-zendframework-zend-file.spec
index a6ccb9f..dbe4e4c 100644
--- a/php-zendframework-zend-file.spec
+++ b/php-zendframework-zend-file.spec
@@ -21,7 +21,7 @@
Name: php-%{gh_owner}-%{gh_project}
Version: 2.8.1
-Release: 2%{?dist}
+Release: 4%{?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://github.com/zendframework/zend-file/commit/466f249d772c188d1370545aba65bf0126bdfef0.patch
+
BuildArch: noarch
# Tests
%if %{with_tests}
@@ -126,6 +128,7 @@ Documentation: https://zendframework.github.io/%{gh_project}/
%prep
%setup -q -n %{gh_project}-%{gh_commit}
+%patch0 -p1
mv LICENSE.md LICENSE
@@ -165,7 +168,7 @@ 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}" "php70 %{_bindir}/phpunit6" php71 php72 php73; do
if which $cmdarg; then
set $cmdarg
$1 ${2:-%{_bindir}/phpunit7} --verbose || ret=1
@@ -186,6 +189,10 @@ exit $ret
%changelog
+* Mon Oct 15 2018 Remi Collet <remi@remirepo.net> - 2.8.1-4
+- add patch for PHP 7.3 from
+ https://github.com/zendframework/zend-file/pull/45
+
* Wed May 2 2018 Remi Collet <remi@remirepo.net> - 2.8.1-2
- update to 2.8.1