summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-08-29 15:16:04 +0200
committerRemi Collet <remi@php.net>2024-08-29 15:16:04 +0200
commitd2cfd76cf5fd4fe08f72d532e24ab57ff5339aae (patch)
tree0c533c14b715a9d76c5cff73896849a343918fcd
parentbb7a15cab80199f2c261ad8b41e261402c572320 (diff)
update to 1.30.0
-rw-r--r--php-phpstan-phpdoc-parser.spec17
1 files changed, 6 insertions, 11 deletions
diff --git a/php-phpstan-phpdoc-parser.spec b/php-phpstan-phpdoc-parser.spec
index 0b6c856..ec768a0 100644
--- a/php-phpstan-phpdoc-parser.spec
+++ b/php-phpstan-phpdoc-parser.spec
@@ -9,7 +9,7 @@
%bcond_without tests
-%global gh_commit fcaefacf2d5c417e928405b71b400d4ce10daaf4
+%global gh_commit 5ceb0e384997db59f38774bf79c2a6134252c08f
%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.29.1
+Version: 1.30.0
Release: 1%{?dist}
Summary: PHPDoc parser with support for nullable, intersection and generic types
@@ -48,13 +48,7 @@ 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
@@ -107,7 +101,7 @@ sed -e 's:exec://exec:' -i tests/bootstrap.php
# use auto_prepend_file to ensure we use new version (not old one pulled by PHPUnit)
# ignore test using doctrine/annotations
ret=0
-for cmdarg in "php %{phpunit}" php81 php82 php83; do
+for cmdarg in "php %{phpunit}" php81 php82 php83 php84; do
if which $cmdarg; then
set $cmdarg
$1 -d auto_prepend_file=vendor/autoload.php \
@@ -125,8 +119,6 @@ exit $ret
%files
-# remirepo:1
-%{!?_licensedir:%global license %%doc}
%license LICENSE
%doc *.md
%doc composer.json
@@ -135,6 +127,9 @@ exit $ret
%changelog
+* Thu Aug 29 2024 Remi Collet <remi@remirepo.net> - 1.30.0-1
+- update to 1.30.0
+
* Fri May 31 2024 Remi Collet <remi@remirepo.net> - 1.29.1-1
- update to 1.29.1