summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-phpdocumentor-reflection-docblock5.spec11
1 files changed, 8 insertions, 3 deletions
diff --git a/php-phpdocumentor-reflection-docblock5.spec b/php-phpdocumentor-reflection-docblock5.spec
index c94fd3b..af29067 100644
--- a/php-phpdocumentor-reflection-docblock5.spec
+++ b/php-phpdocumentor-reflection-docblock5.spec
@@ -15,7 +15,7 @@
Name: php-phpdocumentor-reflection-docblock%{major}
Version: 5.6.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: DocBlock parser
License: MIT
@@ -34,7 +34,7 @@ BuildRequires: php-filter
BuildRequires: (php-composer(phpdocumentor/type-resolver) >= 1.7 with php-composer(phpdocumentor/type-resolver) < 2)
BuildRequires: (php-composer(webmozart/assert) >= 1.9.1 with php-composer(webmozart/assert) < 2)
BuildRequires: (php-composer(phpdocumentor/reflection-common) >= 2.2 with php-composer(phpdocumentor/reflection-common) < 3)
-BuildRequires: (php-composer(phpstan/phpdoc-parser) >= 1.7 with php-composer(phpstan/phpdoc-parser) < 2)
+BuildRequires: (php-composer(phpstan/phpdoc-parser) >= 1.7 with php-composer(phpstan/phpdoc-parser) < 3)
BuildRequires: (php-composer(doctrine/deprecations) >= 1.1 with php-composer(doctrine/deprecations) < 2)
# From composer.json, require-dev
# "mockery/mockery": "~1.3.5 || ~1.6.0",
@@ -66,7 +66,7 @@ Requires: php-filter
Requires: (php-composer(phpdocumentor/type-resolver) >= 1.7 with php-composer(phpdocumentor/type-resolver) < 2)
Requires: (php-composer(webmozart/assert) >= 1.9.1 with php-composer(webmozart/assert) < 2)
Requires: (php-composer(phpdocumentor/reflection-common) >= 2.2 with php-composer(phpdocumentor/reflection-common) < 3)
-Requires: (php-composer(phpstan/phpdoc-parser) >= 1.7 with php-composer(phpstan/phpdoc-parser) < 2)
+Requires: (php-composer(phpstan/phpdoc-parser) >= 1.7 with php-composer(phpstan/phpdoc-parser) < 3)
Requires: (php-composer(doctrine/deprecations) >= 1.1 with php-composer(doctrine/deprecations) < 2)
# From phpcompatinfo report for 4.3.2
Requires: php-reflection
@@ -146,6 +146,7 @@ for PHP_EXEC in "php %{phpunit}" php81 php82 php83 php84; do
$1 -d auto_prepend_file=$PWD/bootstrap.php \
${2:-%{_bindir}/phpunit9} \
--bootstrap bootstrap.php \
+ --filter '^((?!(testAddingAKeyword|testRegressionWordpressDocblocks|testIndentationIsKept)).)*$' \
--verbose || RETURN_CODE=1
fi
done
@@ -164,8 +165,12 @@ exit $RETURN_CODE
%changelog
+* Mon Dec 23 2024 Remi Collet <remi@remirepo.net> - 5.6.1-2
+- allow phpstan/phpdoc-parser v2
+
* Mon Dec 9 2024 Remi Collet <remi@remirepo.net> - 5.6.1-1
- update to 5.6.1
+- re-license spec file to CECILL-2.1
* Tue Nov 12 2024 Remi Collet <remi@remirepo.net> - 5.6.0-1
- update to 5.6.0