summaryrefslogtreecommitdiffstats
path: root/php-doctrine-dbal.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-doctrine-dbal.spec')
-rw-r--r--php-doctrine-dbal.spec15
1 files changed, 9 insertions, 6 deletions
diff --git a/php-doctrine-dbal.spec b/php-doctrine-dbal.spec
index 292daf4..fd00302 100644
--- a/php-doctrine-dbal.spec
+++ b/php-doctrine-dbal.spec
@@ -13,8 +13,8 @@
%global github_owner doctrine
%global github_name dbal
-%global github_version 2.10.2
-%global github_commit aab745e7b6b2de3b47019da81e7225e14dcfdac8
+%global github_version 2.10.3
+%global github_commit 03ca23afc2ee062f5d3e32426ad37c34a4770dcf
%global composer_vendor doctrine
%global composer_project dbal
@@ -34,7 +34,7 @@
%{!?phpdir: %global phpdir %{_datadir}/php}
# Build using "--without tests" to disable tests
-%global with_tests 0%{!?_without_tests:1}
+%bcond_without tests
Name: php-%{composer_vendor}-%{composer_project}
Version: %{github_version}
@@ -55,8 +55,8 @@ Patch0: %{name}-bin.patch
BuildArch: noarch
# Tests
-%if %{with_tests}
-BuildRequires: phpunit8 >= 8.4.1
+%if %{with tests}
+BuildRequires: phpunit8 >= 8.5.5
## composer.json
BuildRequires: php(language) >= %{php_min_ver}
# remirepo:1
@@ -182,7 +182,7 @@ install -pm 0755 bin/doctrine-dbal.php %{buildroot}/%{_bindir}/doctrine-dbal
%check
-%if %{with_tests}
+%if %{with tests}
cat > bs.php <<'BOOTSTRAP'
<?php
require_once '%{buildroot}/%{phpdir}/Doctrine/DBAL/autoload.php';
@@ -218,6 +218,9 @@ exit $RETURN_CODE
%changelog
+* Wed Sep 2 2020 Remi Collet <remi@remirepo.net> - 2.10.3-1
+- update to 2.10.3
+
* Tue Apr 21 2020 Remi Collet <remi@remirepo.net> - 2.10.2-1
- update to 2.10.2