summaryrefslogtreecommitdiffstats
path: root/php-laminas-db.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-laminas-db.spec')
-rw-r--r--php-laminas-db.spec44
1 files changed, 22 insertions, 22 deletions
diff --git a/php-laminas-db.spec b/php-laminas-db.spec
index 19d0283..86f325e 100644
--- a/php-laminas-db.spec
+++ b/php-laminas-db.spec
@@ -7,7 +7,7 @@
# Please, preserve the changelog entries
#
%global bootstrap 0
-%global gh_commit 1125ef2e55108bdfcc1f0030d3a0f9b895e09606
+%global gh_commit 0fb9d7a32b40036a158961a5df082ff421321aa7
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner laminas
%global gh_project laminas-db
@@ -22,7 +22,7 @@
%endif
Name: php-%{gh_project}
-Version: 2.15.0
+Version: 2.16.0
Release: 1%{?dist}
Summary: %{namespace} Framework %{library} component
@@ -34,7 +34,7 @@ Source1: makesrc.sh
BuildArch: noarch
# Tests
%if %{with_tests}
-BuildRequires: php(language) >= 7.3
+BuildRequires: php(language) >= 8.0
BuildRequires: php-date
BuildRequires: php-pcre
BuildRequires: php-pdo
@@ -44,33 +44,32 @@ BuildRequires: php-spl
BuildRequires: (php-autoloader(%{gh_owner}/laminas-stdlib) >= 3.7.1 with php-autoloader(%{gh_owner}/laminas-stdlib) < 4)
BuildRequires: (php-autoloader(%{gh_owner}/laminas-zendframework-bridge) >= 1.0 with php-autoloader(%{gh_owner}/laminas-zendframework-bridge) < 2)
# From composer, "require-dev": {
-# "laminas/laminas-coding-standard": "~2.2.1",
-# "laminas/laminas-eventmanager": "^3.4.0",
-# "laminas/laminas-hydrator": "^3.2 || ^4.3",
-# "laminas/laminas-servicemanager": "^3.7.0",
-# "phpunit/phpunit": "^9.5.19"
-BuildRequires: (php-autoloader(%{gh_owner}/laminas-eventmanager) >= 3.4 with php-autoloader(%{gh_owner}/laminas-eventmanager) < 4)
-BuildRequires: (php-autoloader(%{gh_owner}/laminas-hydrator) >= 3.2 with php-autoloader(%{gh_owner}/laminas-hydrator) < 5)
-BuildRequires: (php-autoloader(%{gh_owner}/laminas-servicemanager) >= 3.7 with php-autoloader(%{gh_owner}/laminas-servicemanager) < 4)
-BuildRequires: (php-composer(phpspec/prophecy-phpunit) >= 2.0 with php-composer(phpspec/prophecy-phpunit) < 3)
+# "laminas/laminas-coding-standard": "~2.4.0",
+# "laminas/laminas-eventmanager": "^3.6.0",
+# "laminas/laminas-hydrator": "^4.7",
+# "laminas/laminas-servicemanager": "^3.19.0",
+# "phpunit/phpunit": "^9.5.25"
+BuildRequires: (php-autoloader(%{gh_owner}/laminas-eventmanager) >= 3.6 with php-autoloader(%{gh_owner}/laminas-eventmanager) < 4)
+BuildRequires: (php-autoloader(%{gh_owner}/laminas-hydrator) >= 4.7 with php-autoloader(%{gh_owner}/laminas-hydrator) < 5)
+BuildRequires: (php-autoloader(%{gh_owner}/laminas-servicemanager) >= 3.19 with php-autoloader(%{gh_owner}/laminas-servicemanager) < 4)
# remirepo:7
%else
BuildRequires: php-laminas-stdlib
BuildRequires: php-laminas-zendframework-bridge
BuildRequires: php-laminas-eventmanager
-BuildRequires: php-laminas-hydrator3
+BuildRequires: php-laminas-hydrator4
BuildRequires: php-laminas-servicemanager
%endif
%global phpunit %{_bindir}/phpunit9
-BuildRequires: phpunit9 >= 9.5.18
+BuildRequires: phpunit9 >= 9.5.25
%endif
# Autoloader
BuildRequires: php-fedora-autoloader-devel
# From composer, "require": {
-# "php": "^7.3 || ~8.0.0 || ~8.1.0",
+# "php": "php": "~8.0.0 || ~8.1.0|| ~8.2.0",
# "laminas/laminas-stdlib": "^3.6",
-Requires: php(language) >= 7.3
+Requires: php(language) >= 8.0
%if ! %{bootstrap}
# remirepo:1
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
@@ -132,12 +131,9 @@ cat << 'EOF' | tee -a src/autoload.php
'%{php_home}/%{namespace}/Stdlib/autoload.php',
]);
\Fedora\Autoloader\Dependencies::optional([
- '%{php_home}/%{namespace}/EventManager/autoload.php',
- [
- '%{php_home}/%{namespace}/Hydrator4/autoload.php',
- '%{php_home}/%{namespace}/Hydrator3/autoload.php',
- ],
'%{php_home}/%{namespace}/ServiceManager/autoload.php',
+ '%{php_home}/%{namespace}/EventManager/autoload.php',
+ '%{php_home}/%{namespace}/Hydrator4/autoload.php',
]);
EOF
@@ -179,7 +175,7 @@ exit (class_exists("\\Zend\\%{library}\\ConfigProvider") ? 0 : 1);
: upstream test suite
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
@@ -202,6 +198,10 @@ exit $ret
%changelog
+* Fri Nov 18 2022 Remi Collet <remi@remirepo.net> - 2.16.0-1
+- update to 2.16.0
+- lower dependency on PHP 8.0
+
* Mon Apr 11 2022 Remi Collet <remi@remirepo.net> - 2.15.0-1
- update to 2.15.0