From c3d27dce88075b2613b8488caa242b7c10c3b28f Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 2 Jul 2024 10:56:04 +0200 Subject: update to 5.1.0 --- composer.json | 2 +- php-nikic-php-parser5.spec | 13 ++++++++----- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/composer.json b/composer.json index b4b1bca..b52f3ee 100644 --- a/composer.json +++ b/composer.json @@ -19,7 +19,7 @@ "ext-ctype": "*" }, "require-dev": { - "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0", + "phpunit/phpunit": "^9.0", "ircmaxell/php-yacc": "^0.0.7" }, "extra": { diff --git a/php-nikic-php-parser5.spec b/php-nikic-php-parser5.spec index 1417cb4..48cba1d 100644 --- a/php-nikic-php-parser5.spec +++ b/php-nikic-php-parser5.spec @@ -7,7 +7,7 @@ # Please, preserve the changelog entries # -# remirepo:2 +# remirepo:3 # For compatibility with SCL %undefine __brp_mangle_shebangs @@ -18,7 +18,7 @@ %bcond_with tests %endif -%global gh_commit 139676794dc1e9231bf7bcd123cfc0c99182cb13 +%global gh_commit 683130c2ff8c2739f4822ff7ac5c873ec529abd1 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner nikic %global gh_project PHP-Parser @@ -27,7 +27,7 @@ %global ns_project PhpParser %global major 5 -%global upstream_version 5.0.2 +%global upstream_version 5.1.0 #global upstream_prever rc1 Name: php-%{gh_owner}-%{pk_project}%{major} @@ -55,7 +55,7 @@ BuildRequires: php-json BuildRequires: php-pcre BuildRequires: php-spl # From composer.json, "require-dev": { -# "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0", +# "phpunit/phpunit": "^9.0", # "ircmaxell/php-yacc": "0.0.7" %global phpunit %{_bindir}/phpunit9 BuildRequires: phpunit9 @@ -136,7 +136,7 @@ AUTOLOAD FILTER="--filter '^((?!(testAliases)).)*$'" ret=0 -for cmdarg in "php %{phpunit}" php80 php81 php82 php83; do +for cmdarg in "php %{phpunit}" php81 php82 php83; do if which $cmdarg; then set $cmdarg $1 -d include_path=%{php_home} \ @@ -161,6 +161,9 @@ exit $ret %changelog +* Tue Jul 2 2024 Remi Collet - 5.1.0-1 +- update to 5.1.0 + * Wed Mar 6 2024 Remi Collet - 5.0.2-1 - update to 5.0.2 -- cgit