summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2021-10-04 09:17:52 +0200
committerRemi Collet <remi@remirepo.net>2021-10-04 09:17:52 +0200
commite6487fd9a55ba337b316bb07ce61636308800b43 (patch)
tree73a15021944540588877d86233673bc2b5bdb18e
parent2343ce9b0d3be82185868783a1026ddcfcc304d6 (diff)
update to 3.7.0
raise dependency on laminas-stdlib 3.6 switch to phpunit9
-rw-r--r--composer.json9
-rw-r--r--php-laminas-config3.spec28
2 files changed, 20 insertions, 17 deletions
diff --git a/composer.json b/composer.json
index adfc01d..a7196e6 100644
--- a/composer.json
+++ b/composer.json
@@ -19,18 +19,17 @@
"sort-packages": true
},
"require": {
- "php": "^7.3 || ~8.0.0",
+ "php": "^7.3 || ~8.0.0 || ~8.1.0",
"ext-json": "*",
- "laminas/laminas-stdlib": "^2.7.7 || ^3.1",
+ "laminas/laminas-stdlib": "^3.6",
"psr/container": "^1.0"
},
"require-dev": {
"laminas/laminas-coding-standard": "~1.0.0",
"laminas/laminas-filter": "^2.7.2",
"laminas/laminas-i18n": "^2.10.3",
- "laminas/laminas-servicemanager": "^3.4.1",
- "malukenho/docheader": "^0.1.6",
- "phpunit/phpunit": "^8.5.8"
+ "laminas/laminas-servicemanager": "^3.7",
+ "phpunit/phpunit": "^9.5.5"
},
"conflict": {
"container-interop/container-interop": "<1.2.0",
diff --git a/php-laminas-config3.spec b/php-laminas-config3.spec
index 75ffa78..15d6374 100644
--- a/php-laminas-config3.spec
+++ b/php-laminas-config3.spec
@@ -7,7 +7,7 @@
# Please, preserve the changelog entries
#
%global bootstrap 0
-%global gh_commit 2f2273a6bdf966a9adf6042f8950b6c33199a3b7
+%global gh_commit e43d13dcfc273d4392812eb395ce636f73f34dfd
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner laminas
%global gh_project laminas-config
@@ -22,7 +22,7 @@
%endif
Name: php-%{gh_project}%{major}
-Version: 3.6.0
+Version: 3.7.0
Release: 1%{?dist}
Summary: %{namespace} Framework %{library} component v%{major}
@@ -43,17 +43,16 @@ BuildRequires: php-xmlreader
BuildRequires: php-xmlwriter
# remirepo:1
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
-BuildRequires: (php-autoloader(%{gh_owner}/laminas-stdlib) >= 3.0 with php-autoloader(%{gh_owner}/laminas-stdlib) < 4)
+BuildRequires: (php-autoloader(%{gh_owner}/laminas-stdlib) >= 3.6 with php-autoloader(%{gh_owner}/laminas-stdlib) < 4)
BuildRequires: (php-composer(psr/container) >= 1.0 with php-composer(psr/container) < 2)
# From composer, "require-dev": {
# "laminas/laminas-filter": "^2.7.2",
# "laminas/laminas-i18n": "^2.10.3",
-# "laminas/laminas-servicemanager": "^3.4.1",
-# "malukenho/docheader": "^0.1.6",
-# "phpunit/phpunit": "^8.5.8"
+# "laminas/laminas-servicemanager": "^3.7",
+# "phpunit/phpunit": "^9.5.5"
BuildRequires: (php-autoloader(%{gh_owner}/laminas-filter) >= 2.7.2 with php-autoloader(%{gh_owner}/laminas-filter) < 3)
BuildRequires: (php-autoloader(%{gh_owner}/laminas-i18n) >= 2.10.3 with php-autoloader(%{gh_owner}/laminas-i18n) < 3)
-BuildRequires: (php-autoloader(%{gh_owner}/laminas-servicemanager) >= 3.4.1 with php-autoloader(%{gh_owner}/laminas-servicemanager) < 4)
+BuildRequires: (php-autoloader(%{gh_owner}/laminas-servicemanager) >= 3.7 with php-autoloader(%{gh_owner}/laminas-servicemanager) < 4)
# remirepo:7
%else
BuildRequires: php-laminas-stdlib
@@ -62,21 +61,21 @@ BuildRequires: php-laminas-filter
BuildRequires: php-laminas-i18n
BuildRequires: php-laminas-servicemanager
%endif
-BuildRequires: phpunit8 >= 8.5.8
+BuildRequires: phpunit9 >= 9.5.5
%endif
# Autoloader
BuildRequires: php-fedora-autoloader-devel
# From composer, "require": {
-# "php": "^7.3 || ~8.0.0",
+# "php": "^7.3 || ~8.0.0 || ~8.1.0",
# "ext-json": "*",
-# "laminas/laminas-stdlib": "^2.7.7 || ^3.1",
+# "laminas/laminas-stdlib": "^3.6",
# "psr/container": "^1.0"
Requires: php(language) >= 7.3
Requires: php-json
# remirepo:1
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
-Requires: (php-autoloader(%{gh_owner}/laminas-stdlib) >= 3.1 with php-autoloader(%{gh_owner}/laminas-stdlib) < 4)
+Requires: (php-autoloader(%{gh_owner}/laminas-stdlib) >= 3.6 with php-autoloader(%{gh_owner}/laminas-stdlib) < 4)
Requires: (php-composer(psr/container) >= 1.0 with php-composer(psr/container) < 2)
# From composer, "suggest": {
# "laminas/laminas-filter": "Laminas\\Filter component",
@@ -153,7 +152,7 @@ EOF
ret=0
for cmd in php php73 php74 php80 php81; do
if which $cmd; then
- $cmd %{_bindir}/phpunit8 || ret=1
+ $cmd %{_bindir}/phpunit9 || ret=1
fi
done
exit $ret
@@ -172,6 +171,11 @@ exit $ret
%changelog
+* Mon Oct 4 2021 Remi Collet <remi@remirepo.net> - 3.7.0-1
+- update to 3.7.0
+- raise dependency on laminas-stdlib 3.6
+- switch to phpunit9
+
* Wed Sep 8 2021 Remi Collet <remi@remirepo.net> - 3.6.0-1
- update to 3.6.0
- drop zendframework compatibility layer