summaryrefslogtreecommitdiffstats
path: root/php-zendframework-zend-server.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-10-16 11:48:59 +0200
committerRemi Collet <remi@remirepo.net>2019-10-16 11:48:59 +0200
commit7bdee57ad00cc6ad238fde85a4c4689f989a3835 (patch)
tree0ed1ca6bc4efc7f5845078678ac52427988db708 /php-zendframework-zend-server.spec
parentefbaeb849870256a809b7d0e001761bd5ae75709 (diff)
- add patch for PHP 7.4 from
https://github.com/zendframework/zend-server/pull/30
Diffstat (limited to 'php-zendframework-zend-server.spec')
-rw-r--r--php-zendframework-zend-server.spec15
1 files changed, 11 insertions, 4 deletions
diff --git a/php-zendframework-zend-server.spec b/php-zendframework-zend-server.spec
index 15f3d57..fbb1df6 100644
--- a/php-zendframework-zend-server.spec
+++ b/php-zendframework-zend-server.spec
@@ -1,6 +1,6 @@
# remirepo/Fedora spec file for php-zendframework-zend-server
#
-# Copyright (c) 2015-2018 Remi Collet
+# Copyright (c) 2015-2019 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
@@ -21,15 +21,16 @@
Name: php-%{gh_owner}-%{gh_project}
Version: 2.8.0
-Release: 2%{?dist}
+Release: 6%{?dist}
Summary: Zend Framework %{library} component
-Group: Development/Libraries
License: BSD
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-server/pull/30.patch
+
BuildArch: noarch
# Tests
%if %{with_tests}
@@ -102,6 +103,7 @@ Documentation: https://zendframework.github.io/%{gh_project}/
%prep
%setup -q -n %{gh_project}-%{gh_commit}
+%patch0 -p1
mv LICENSE.md LICENSE
@@ -133,7 +135,7 @@ require_once 'test/TestAsset/reflectionTestFunction.php';
EOF
ret=0
-for cmdarg in "php %{phpunit}" php71 php72; do
+for cmdarg in "php %{phpunit}" php71 php72 php73 php74; do
if which $cmdarg; then
set $cmdarg
$1 ${2:-%{_bindir}/phpunit7} --verbose || ret=1
@@ -146,6 +148,7 @@ exit $ret
%files
+# remirepo:1
%{!?_licensedir:%global license %%doc}
%license LICENSE
%doc *.md
@@ -154,6 +157,10 @@ exit $ret
%changelog
+* Wed Oct 16 2019 Remi Collet <remi@remirepo.net> - 2.8.0-6
+- add patch for PHP 7.4 from
+ https://github.com/zendframework/zend-server/pull/30
+
* Thu May 3 2018 Remi Collet <remi@remirepo.net> - 2.8.0-2
- update to 2.8.0
- use range dependencies on F27+