summaryrefslogtreecommitdiffstats
path: root/php-zendframework-zend-serializer.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-zendframework-zend-serializer.spec')
-rw-r--r--php-zendframework-zend-serializer.spec22
1 files changed, 13 insertions, 9 deletions
diff --git a/php-zendframework-zend-serializer.spec b/php-zendframework-zend-serializer.spec
index a761f5a..d08c8f8 100644
--- a/php-zendframework-zend-serializer.spec
+++ b/php-zendframework-zend-serializer.spec
@@ -1,13 +1,13 @@
# remirepo/Fedora spec file for php-zendframework-zend-serializer
#
-# Copyright (c) 2015-2018 Remi Collet
+# Copyright (c) 2015-2019 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
# Please, preserve the changelog entries
#
%global bootstrap 0
-%global gh_commit 0172690db48d8935edaf625c4cba38b79719892c
+%global gh_commit 6fb7ae016cfdf0cfcdfa2b989e6a65f351170e21
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner zendframework
%global gh_project zend-serializer
@@ -20,11 +20,10 @@
%endif
Name: php-%{gh_owner}-%{gh_project}
-Version: 2.9.0
-Release: 2%{?dist}
+Version: 2.9.1
+Release: 1%{?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
@@ -44,7 +43,7 @@ BuildRequires: php-pcre
BuildRequires: php-simplexml
BuildRequires: php-spl
# From composer, "require-dev": {
-# "phpunit/phpunit": "^5.7.25 || ^6.4.4",
+# "phpunit/phpunit": "^5.7.27 || ^6.5.14 || ^7.5.16",
# "zendframework/zend-coding-standard": "~1.0.0",
# "zendframework/zend-math": "^2.6 || ^3.0",
# "zendframework/zend-servicemanager": "^2.7.5 || ^3.0.3"
@@ -65,7 +64,7 @@ BuildRequires: php-autoloader(%{gh_owner}/zend-math) >= 2.6
BuildRequires: php-autoloader(%{gh_owner}/zend-servicemanager) < 4
BuildRequires: php-autoloader(%{gh_owner}/zend-servicemanager) >= 2.7.5
%endif
-BuildRequires: phpunit6 >= 6.4.4
+BuildRequires: phpunit7 >= 7.5.16
%endif
# Autoloader
BuildRequires: php-fedora-autoloader-devel
@@ -153,9 +152,9 @@ require_once '%{buildroot}%{php_home}/Zend/%{library}/autoload.php';
EOF
ret=0
-for cmd in php php70 php71 php72; do
+for cmd in php php71 php72 php73 php74; do
if which $cmd; then
- $cmd %{_bindir}/phpunit6 --verbose || ret=1
+ $cmd %{_bindir}/phpunit7 --verbose || ret=1
fi
done
exit $ret
@@ -165,6 +164,7 @@ exit $ret
%files
+# remirepo:1
%{!?_licensedir:%global license %%doc}
%license LICENSE
%doc *.md
@@ -173,6 +173,10 @@ exit $ret
%changelog
+* Mon Oct 21 2019 Remi Collet <remi@remirepo.net> - 2.9.1-1
+- update to 2.9.1 (no change)
+- switch to phpunit7
+
* Tue May 15 2018 Remi Collet <remi@remirepo.net> - 2.9.0-2
- update to 2.9.0
- use range dependencies on F27+