summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-react-dns.spec14
1 files changed, 6 insertions, 8 deletions
diff --git a/php-react-dns.spec b/php-react-dns.spec
index 7fd47fb..7abea24 100644
--- a/php-react-dns.spec
+++ b/php-react-dns.spec
@@ -12,8 +12,8 @@
%global github_owner reactphp
%global github_name dns
-%global github_version 1.5.0
-%global github_commit b22b0b20278e8535e633ab71a52472c5bf620aa1
+%global github_version 1.6.0
+%global github_commit bf76d1c312c0c280c4ce53119cd7d08db23ffb4c
%global composer_vendor react
%global composer_project dns
@@ -60,14 +60,9 @@ BuildArch: noarch
%if %{with tests}
## composer.json
BuildRequires: php(language) >= %{php_min_ver}
-%if 0%{?fedora} >= 32 || 0%{?rhel} >= 9
# "phpunit/phpunit": "^9.3 || ^4.8.35"
%global phpunit %{_bindir}/phpunit9
BuildRequires: phpunit9 >= 9.3
-%else
-%global phpunit %{_bindir}/phpunit
-BuildRequires: php-phpunit-PHPUnit >= 4.8.35
-%endif
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
BuildRequires: (php-composer(clue/block-react) >= %{clue_block_react_min_ver} with php-composer(clue/block-react) < %{clue_block_react_max_ver})
BuildRequires: (php-composer(react/cache) >= %{react_cache_min_ver} with php-composer(react/cache) < %{react_cache_max_ver})
@@ -193,7 +188,7 @@ VER=$(php -r 'echo PHP_INT_SIZE;')
: Upstream tests
RETURN_CODE=0
-for CMDARG in "php %{phpunit}" "php72 %{_bindir}/phpunit" php74 php80; do
+for CMDARG in "php %{phpunit}" php73 php74 php80 php81; do
if which $CMDARG; then
set $CMDARG
$1 ${2:-%{_bindir}/phpunit9} -d memory_limit=-1 \
@@ -217,6 +212,9 @@ exit $RETURN_CODE
%changelog
+* Mon Jun 21 2021 Remi Collet <remi@remirepo.net> - 1.6.0-1
+- update to 1.6.0
+
* Fri Mar 5 2021 Remi Collet <remi@remirepo.net> - 1.5.0-1
- update to 1.5.0
- open https://github.com/reactphp/dns/issues/176 integer overflow