summaryrefslogtreecommitdiffstats
path: root/php-doctrine-annotations.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-doctrine-annotations.spec')
-rw-r--r--php-doctrine-annotations.spec16
1 files changed, 11 insertions, 5 deletions
diff --git a/php-doctrine-annotations.spec b/php-doctrine-annotations.spec
index 4a9c332..d65b032 100644
--- a/php-doctrine-annotations.spec
+++ b/php-doctrine-annotations.spec
@@ -15,8 +15,8 @@
%global github_owner doctrine
%global github_name annotations
-%global github_version 1.10.4
-%global github_commit bfe91e31984e2ba76df1c1339681770401ec262f
+%global github_version 1.11.0
+%global github_commit 88fb6fb1dae011de24dd6b632811c1ff5c2928f5
%global composer_vendor doctrine
%global composer_project annotations
@@ -56,17 +56,20 @@ BuildRequires: php(language) >= %{php_min_ver}
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
BuildRequires:(php-composer(doctrine/cache) >= %{cache_min_ver} with php-composer(doctrine/cache) < %{cache_max_ver})
BuildRequires:(php-composer(doctrine/lexer) >= %{lexer_min_ver} with php-composer(doctrine/lexer) < %{lexer_max_ver})
-# "phpunit/phpunit": "^7.5 || ^9.1.5"
-%global phpunit %{_bindir}/phpunit9
-BuildRequires: phpunit9 >= 9.1.5
%else
BuildRequires: php-composer(doctrine/cache) < %{cache_max_ver}
BuildRequires: php-composer(doctrine/cache) >= %{cache_min_ver}
BuildRequires: php-composer(doctrine/lexer) < %{lexer_max_ver}
BuildRequires: php-composer(doctrine/lexer) >= %{lexer_min_ver}
+# "phpunit/phpunit": "^7.5 || ^9.1.5"
+%if 0%{?fedora} >= 31 || 0%{?rhel} >= 9
+%global phpunit %{_bindir}/phpunit9
+BuildRequires: phpunit9 >= 9.1.5
+%else
%global phpunit %{_bindir}/phpunit7
BuildRequires: phpunit7 >= 7.5
%endif
+%endif
## phpcompatinfo (computed from version 1.10.0)
BuildRequires: php-ctype
@@ -178,6 +181,9 @@ exit $RETURN_CODE
%changelog
+* Mon Oct 26 2020 Remi Collet <remi@remirepo.net> - 1.11.0-1
+- update to 1.11.0
+
* Wed Aug 12 2020 Remi Collet <remi@remirepo.net> - 1.10.4-1
- update to 1.10.4
- switch to phpunit9