summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2022-10-17 14:43:51 +0200
committerRemi Collet <remi@php.net>2022-10-17 14:43:51 +0200
commit4d15f890457cae11a06c7340e12d0b3222997251 (patch)
tree59d945baaec46a43b737a5be43e0480d7bc23c45
parentc5c7e8c702b54401d40cc17e35136e467339b2fa (diff)
update to 2.14.0HEADmaster
raise dependency on PHP 8.0
-rw-r--r--composer.json12
-rw-r--r--php-laminas-serializer.spec28
2 files changed, 22 insertions, 18 deletions
diff --git a/composer.json b/composer.json
index 8d91b11..d65ebad 100644
--- a/composer.json
+++ b/composer.json
@@ -21,7 +21,7 @@
"dealerdirect/phpcodesniffer-composer-installer": true
},
"platform": {
- "php": "7.4"
+ "php": "8.0.99"
}
},
"extra": {
@@ -31,15 +31,15 @@
}
},
"require": {
- "php": "^7.4 || ~8.0.0 || ~8.1.0",
+ "php": "~8.0.0 || ~8.1.0 || ~8.2.0",
"laminas/laminas-json": "^3.1",
"laminas/laminas-stdlib": "^3.2"
},
"require-dev": {
- "laminas/laminas-coding-standard": "~2.3.0",
- "laminas/laminas-math": "^3.3",
- "laminas/laminas-servicemanager": "^3.6",
- "phpunit/phpunit": "^9.3"
+ "laminas/laminas-coding-standard": "~2.4.0",
+ "laminas/laminas-math": "~3.6.0",
+ "laminas/laminas-servicemanager": "~3.19.0",
+ "phpunit/phpunit": "~9.5.25"
},
"suggest": {
"laminas/laminas-math": "(^3.3) To support Python Pickle serialization",
diff --git a/php-laminas-serializer.spec b/php-laminas-serializer.spec
index 8339bad..ba6ef47 100644
--- a/php-laminas-serializer.spec
+++ b/php-laminas-serializer.spec
@@ -7,7 +7,7 @@
# Please, preserve the changelog entries
#
%global bootstrap 0
-%global gh_commit aa72a694d79f01ef1252b276ca9930158c3b877d
+%global gh_commit c4ceeb080f8d080006616072d2926949b3e5b9ea
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner laminas
%global gh_project laminas-serializer
@@ -22,7 +22,7 @@
%endif
Name: php-%{gh_project}
-Version: 2.13.0
+Version: 2.14.0
Release: 1%{?dist}
Summary: Laminas Framework %{library} component
@@ -34,24 +34,24 @@ Source1: makesrc.sh
BuildArch: noarch
# Tests
%if %{with_tests}
-BuildRequires: php(language) >= 7.4
+BuildRequires: php(language) >= 8.0
BuildRequires: php-dom
BuildRequires: php-libxml
BuildRequires: php-pcre
BuildRequires: php-simplexml
BuildRequires: php-spl
# From composer, "require-dev": {
-# "laminas/laminas-coding-standard": "~2.3.0",
-# "laminas/laminas-math": "^3.3",
-# "laminas/laminas-servicemanager": "^3.6",
-# "phpunit/phpunit": "^9.3"
+# "laminas/laminas-coding-standard": "~2.4.0",
+# "laminas/laminas-math": "^3.6.0",
+# "laminas/laminas-servicemanager": "^3.19.0",
+# "phpunit/phpunit": "^9.5.25"
# remirepo:1
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
BuildRequires: (php-autoloader(%{gh_owner}/laminas-json) >= 3.1 with php-autoloader(%{gh_owner}/laminas-json) < 4)
BuildRequires: (php-autoloader(%{gh_owner}/laminas-stdlib) >= 3.2 with php-autoloader(%{gh_owner}/laminas-stdlib) < 4)
BuildRequires: (php-composer(%{gh_owner}/laminas-zendframework-bridge) >= 1.0 with php-composer(%{gh_owner}/laminas-zendframework-bridge) < 2)
BuildRequires: (php-autoloader(%{gh_owner}/laminas-math) >= 3.3 with php-autoloader(%{gh_owner}/laminas-math) < 4)
-BuildRequires: (php-autoloader(%{gh_owner}/laminas-servicemanager) >= 3.6 with php-autoloader(%{gh_owner}/laminas-servicemanager) < 4)
+BuildRequires: (php-autoloader(%{gh_owner}/laminas-servicemanager) >= 3.19 with php-autoloader(%{gh_owner}/laminas-servicemanager) < 4)
# remirepo:7
%else
BuildRequires: php-laminas-stdlib >= 3.1
@@ -61,16 +61,16 @@ BuildRequires: php-laminas-math >= 3.3
BuildRequires: php-laminas-servicemanager >= 3.6
%endif
%global phpunit %{_bindir}/phpunit9
-BuildRequires: phpunit9 >= 9.3
+BuildRequires: phpunit9 >= 9.5.25
%endif
# Autoloader
BuildRequires: php-fedora-autoloader-devel
# From composer, "require": {
-# "php": "^7.4 || ~8.0.0|| ~8.1.0"",
+# "php": "~8.0.0 || ~8.1.0 || ~8.2.0",
# "laminas/laminas-json": "^3.1",
# "laminas/laminas-stdlib": "^3.2"
-Requires: php(language) >= 7.4
+Requires: php(language) >= 8.0
%if ! %{bootstrap}
# remirepo:1
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
@@ -169,7 +169,7 @@ require_once '%{buildroot}%{php_home}/%{namespace}/%{library}/autoload.php';
EOF
ret=0
-for cmdarg in "php %{phpunit}" php74 php80 php81; do
+for cmdarg in "php %{phpunit}" php80 php81 php82; do
if which $cmdarg; then
set $cmdarg
$1 ${2:-%{_bindir}/phpunit9} --verbose || ret=1
@@ -199,6 +199,10 @@ exit $ret
%changelog
+* Mon Oct 17 2022 Remi Collet <remi@remirepo.net> - 2.14.0-1
+- update to 2.14.0
+- raise dependency on PHP 8.0
+
* Tue Apr 12 2022 Remi Collet <remi@remirepo.net> - 2.13.0-1
- update to 2.13.0
- raise dependency on PHP 7.4