summaryrefslogtreecommitdiffstats
path: root/php-cakephp4.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-cakephp4.spec')
-rw-r--r--php-cakephp4.spec59
1 files changed, 39 insertions, 20 deletions
diff --git a/php-cakephp4.spec b/php-cakephp4.spec
index 4101109..29debc9 100644
--- a/php-cakephp4.spec
+++ b/php-cakephp4.spec
@@ -12,7 +12,7 @@
# https://github.com/cakephp/cakephp/releases
-%global gh_commit 0cb68fe68e2fb79889b3b49a03e8cbb720e98311
+%global gh_commit 856741f34393bef25284b86da703e840071c4341
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner cakephp
%global gh_project cakephp
@@ -28,7 +28,7 @@
%global chronos_version 2.3.0
Name: php-%{pk_vendor}%{major}
-Version: 4.3.4
+Version: 4.3.5
Release: 1%{?dist}
Summary: The CakePHP framework
@@ -102,13 +102,13 @@ Summary: CakePHP Collection Library
# From composer.json "require": {
# "php": ">=7.2.0",
# "cakephp/core": "^4.0",
-# "psr/simple-cache": "^1.0.0"
+# "psr/simple-cache": "^1.0 || ^2.0"
Requires: php(language) >= 7.2
Requires: php-composer(%{pk_vendor}/core) = %{version}
# from main composer.json
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
-BuildRequires: (php-composer(psr/simple-cache) >= 1.0.0 with php-composer(psr/simple-cache) < 2)
-Requires: (php-composer(psr/simple-cache) >= 1.0.0 with php-composer(psr/simple-cache) < 2)
+BuildRequires: (php-composer(psr/simple-cache) >= 1.0.0 with php-composer(psr/simple-cache) < 3)
+Requires: (php-composer(psr/simple-cache) >= 1.0.0 with php-composer(psr/simple-cache) < 3)
# Optional (from phpcompatinfo report)
Recommends: php-apcu
Suggests: php-memcached
@@ -291,15 +291,15 @@ Summary: CakePHP Datasource Library
# From composer.json "require": {
# "php": ">=7.2.0",
# "cakephp/core": "^4.0",
-# "psr/log": "^1.1",
-# "psr/simple-cache": "^1.0"
+# "psr/log": "^1.0 || ^2.0",
+# "psr/simple-cache": "^1.0 || ^2.0"
Requires: php(language) >= 7.2
Requires: php-composer(%{pk_vendor}/core) = %{version}
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
-BuildRequires: (php-composer(psr/log) >= 1.0.0 with php-composer(psr/log) < 2)
-Requires: (php-composer(psr/log) >= 1.0.0 with php-composer(psr/log) < 2)
-BuildRequires: (php-composer(psr/simple-cache) >= 1.0.0 with php-composer(psr/simple-cache) < 2)
-Requires: (php-composer(psr/simple-cache) >= 1.0.0 with php-composer(psr/simple-cache) < 2)
+BuildRequires: (php-composer(psr/log) >= 1.0.0 with php-composer(psr/log) < 3)
+Requires: (php-composer(psr/log) >= 1.0.0 with php-composer(psr/log) < 3)
+BuildRequires: (php-composer(psr/simple-cache) >= 1.0.0 with php-composer(psr/simple-cache) < 3)
+Requires: (php-composer(psr/simple-cache) >= 1.0.0 with php-composer(psr/simple-cache) < 3)
%else
BuildRequires: php-psr-simple-cache >= 1.0.0
Requires: php-psr-simple-cache >= 1.0.0
@@ -486,12 +486,12 @@ Summary: logging library
# From composer.json "require": {
# "php": ">=7.2.0",
# "cakephp/core": "^4.0",
-# "psr/log": "^1.0.0"
+# "psr/log": "^1.0 || ^2.0"
Requires: php(language) >= 7.2
Requires: php-composer(%{pk_vendor}/core) = %{version}
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
-BuildRequires: (php-composer(psr/log) >= 1.0.0 with php-composer(psr/log) < 2)
-Requires: (php-composer(psr/log) >= 1.0.0 with php-composer(psr/log) < 2)
+BuildRequires: (php-composer(psr/log) >= 1.0.0 with php-composer(psr/log) < 3)
+Requires: (php-composer(psr/log) >= 1.0.0 with php-composer(psr/log) < 3)
%else
BuildRequires: php-PsrLog >= 1.0.0
Requires: php-PsrLog >= 1.0.0
@@ -621,8 +621,13 @@ require_once '%{php_home}/Fedora/Autoloader/autoload.php';
__DIR__ . '/I18n/functions.php',
__DIR__ . '/Routing/functions.php',
__DIR__ . '/Utility/bootstrap.php',
- '%{php_home}/Psr/Log/autoload.php',
- '%{php_home}/Psr/SimpleCache/autoload.php',
+ [
+ '%{php_home}/Psr/Log2/autoload.php',
+ '%{php_home}/Psr/Log/autoload.php',
+ ], [
+ '%{php_home}/Psr/SimpleCache2/autoload.php',
+ '%{php_home}/Psr/SimpleCache/autoload.php',
+ ],
'%{php_home}/Psr/Http/Client/autoload.php',
'%{php_home}/Psr/Http/Message/autoload.php',
'%{php_home}/Psr/Http/Server/autoload.php',
@@ -664,7 +669,10 @@ require_once '%{php_home}/Fedora/Autoloader/autoload.php';
\Fedora\Autoloader\Autoload::addPsr4('Cake\\Cache\\', __DIR__);
\Fedora\Autoloader\Dependencies::required([
dirname(__DIR__) . '/Core/autoload.php',
- '%{php_home}/Psr/SimpleCache/autoload.php',
+ [
+ '%{php_home}/Psr/SimpleCache2/autoload.php',
+ '%{php_home}/Psr/SimpleCache/autoload.php',
+ ],
]);
EOF
@@ -742,8 +750,13 @@ require_once '%{php_home}/Fedora/Autoloader/autoload.php';
\Fedora\Autoloader\Autoload::addPsr4('Cake\\Datasource\\', __DIR__);
\Fedora\Autoloader\Dependencies::required([
dirname(__DIR__) . '/Core/autoload.php',
- '%{php_home}/Psr/Log/autoload.php',
- '%{php_home}/Psr/SimpleCache/autoload.php',
+ [
+ '%{php_home}/Psr/Log2/autoload.php',
+ '%{php_home}/Psr/Log/autoload.php',
+ ], [
+ '%{php_home}/Psr/SimpleCache2/autoload.php',
+ '%{php_home}/Psr/SimpleCache/autoload.php',
+ ],
]);
EOF
@@ -821,7 +834,10 @@ require_once '%{php_home}/Fedora/Autoloader/autoload.php';
\Fedora\Autoloader\Autoload::addPsr4('Cake\\Log\\', __DIR__);
\Fedora\Autoloader\Dependencies::required([
dirname(__DIR__) . '/Core/autoload.php',
- '%{php_home}/Psr/Log/autoload.php',
+ [
+ '%{php_home}/Psr/Log2/autoload.php',
+ '%{php_home}/Psr/Log/autoload.php',
+ ],
]);
EOF
@@ -1134,6 +1150,9 @@ exit $ret
%changelog
+* Mon Feb 7 2022 Remi Collet <remi@remirepo.net> - 4.3.5-1
+- update to 4.3.5
+
* Mon Jan 17 2022 Remi Collet <remi@remirepo.net> - 4.3.4-1
- update to 4.3.4