From a9802bd984802aabaf08e2241d433958ac1b2786 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 5 Jan 2024 08:09:59 +0100 Subject: update to 1.25.0 --- php-phpstan-phpdoc-parser.spec | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/php-phpstan-phpdoc-parser.spec b/php-phpstan-phpdoc-parser.spec index 1f9541d..f6049df 100644 --- a/php-phpstan-phpdoc-parser.spec +++ b/php-phpstan-phpdoc-parser.spec @@ -1,6 +1,6 @@ # remirepo/Fedora spec file for php-phpstan-phpdoc-parser # -# Copyright (c) 2023 Remi Collet +# Copyright (c) 2023-2024 Remi Collet # License: CC-BY-SA-4.0 # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -9,7 +9,7 @@ %bcond_without tests -%global gh_commit fedf211ff14ec8381c9bf5714e33a7a552dd1acc +%global gh_commit bd84b629c8de41aa2ae82c067c955e06f1b00240 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner phpstan %global gh_project phpdoc-parser @@ -19,7 +19,7 @@ %global major %nil Name: php-%{gh_owner}-%{gh_project}%{major} -Version: 1.24.5 +Version: 1.25.0 Release: 1%{?dist} Summary: PHPDoc parser with support for nullable, intersection and generic types @@ -48,6 +48,13 @@ BuildRequires: php-pcre %global phpunit %{_bindir}/phpunit9 BuildRequires: phpunit9 >= 9.5 %endif +# remirepo:1 +%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 +BuildRequires: (php-composer(nikic/php-parser) >= 4.15 with php-composer(nikic/php-parser) < 5) +# remirepo:3 +%else +BuildRequires: php-nikic-php-parser4 >= 4.15 +%endif # Autoloader BuildRequires: php-fedora-autoloader-devel @@ -86,6 +93,8 @@ cp -pr src %{buildroot}%{php_home}/%{namespace}/%{library}%{major} mkdir vendor cat << 'EOF' | tee vendor/autoload.php - 1.25.0-1 +- update to 1.25.0 + * Mon Dec 18 2023 Remi Collet - 1.24.5-1 - update to 1.24.5 -- cgit