summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-doctrine-collections.spec13
1 files changed, 8 insertions, 5 deletions
diff --git a/php-doctrine-collections.spec b/php-doctrine-collections.spec
index 9f7187e..ea93747 100644
--- a/php-doctrine-collections.spec
+++ b/php-doctrine-collections.spec
@@ -12,8 +12,8 @@
%global github_owner doctrine
%global github_name collections
-%global github_version 1.6.5
-%global github_commit fc0206348e17e530d09463fef07ba8968406cd6d
+%global github_version 1.6.6
+%global github_commit 5f0470363ff042d0057006ae7acabc5d7b5252d5
%global composer_vendor doctrine
%global composer_project collections
@@ -22,7 +22,7 @@
%global php_min_ver 7.1.3
# Build using "--without tests" to disable tests
-%global with_tests 0%{!?_without_tests:1}
+%bcond_without tests
%{!?phpdir: %global phpdir %{_datadir}/php}
@@ -41,7 +41,7 @@ Source1: %{name}-get-source.sh
BuildArch: noarch
# Tests
-%if %{with_tests}
+%if %{with tests}
## composer.json
BuildRequires: phpunit7
BuildRequires: php(language) >= %{php_min_ver}
@@ -96,7 +96,7 @@ cp -rp lib/* %{buildroot}%{phpdir}/
%check
-%if %{with_tests}
+%if %{with tests}
: Create tests bootstrap
cat <<'BOOTSTRAP' | tee bootstrap.php
<?php
@@ -134,6 +134,9 @@ rm -rf %{buildroot}
%changelog
+* Mon Jul 20 2020 Remi Collet <remi@remirepo.net> - 1.6.6-1
+- update to 1.6.6
+
* Tue May 26 2020 Remi Collet <remi@remirepo.net> - 1.6.5-1
- update to 1.6.5