Compare commits

..

2 commits

Author SHA1 Message Date
Remi Collet
da32041730 v5.6.3
(cherry picked from commit 3efbcaf286)
(cherry picked from commit 7efabb3033)
2025-08-28 08:33:20 +02:00
Remi Collet
e74fa8704b v5.6.2
(cherry picked from commit 916fe81a17)
2025-04-14 09:18:24 +02:00
3 changed files with 8 additions and 34 deletions

3
.gitignore vendored
View file

@ -6,6 +6,3 @@
/php-phpdocumentor-reflection-docblock5-5.6.1-e5e7841.tar.gz
/php-phpdocumentor-reflection-docblock5-5.6.2-92dde6a.tar.gz
/php-phpdocumentor-reflection-docblock5-5.6.3-94f8051.tar.gz
/php-phpdocumentor-reflection-docblock5-5.6.4-90a04bc.tar.gz
/php-phpdocumentor-reflection-docblock5-5.6.5-90614c7.tar.gz
/php-phpdocumentor-reflection-docblock5-5.6.6-5cee1d3.tar.gz

View file

@ -6,7 +6,7 @@
#
# Please, preserve the changelog entries
#
%global gh_commit 5cee1d3dfc2d2aa6599834520911d246f656bcb8
%global gh_commit 94f8051919d1b0369a6bcc7931d679a511c03fe9
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner phpDocumentor
%global gh_project ReflectionDocBlock
@ -14,7 +14,7 @@
%bcond_without tests
Name: php-phpdocumentor-reflection-docblock%{major}
Version: 5.6.6
Version: 5.6.3
Release: 1%{?dist}
Summary: DocBlock parser
@ -32,7 +32,7 @@ BuildRequires: php-fedora-autoloader-devel
BuildRequires: php(language) >= 7.4
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) < 3)
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) < 3)
BuildRequires: (php-composer(doctrine/deprecations) >= 1.1 with php-composer(doctrine/deprecations) < 2)
@ -56,7 +56,7 @@ BuildRequires: php-spl
# From composer.json, require
# "php": "^7.4 || ^8.0",
# "phpdocumentor/type-resolver": "^1.7",
# "webmozart/assert": "^1.9.1 || ^2",
# "webmozart/assert": "^1.9.1",
# "phpdocumentor/reflection-common": "^2.2",
# "ext-filter": "*",
# "phpstan/phpdoc-parser": "^1.7|^2.0",
@ -64,7 +64,7 @@ BuildRequires: php-spl
Requires: php(language) >= 7.4
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) < 3)
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) < 3)
Requires: (php-composer(doctrine/deprecations) >= 1.1 with php-composer(doctrine/deprecations) < 2)
@ -105,19 +105,12 @@ phpab \
--output src/DocBlock/autoload.php \
src/
cat << 'AUTOLOAD' | tee -a src/DocBlock/autoload.php
$deps = [
'%{_datadir}/php/Webmozart/Assert/autoload.php',
];
if (PHP_VERSION_ID > 80200) {
array_unshift($deps, '%{_datadir}/php/Webmozart/Assert2/autoload.php');
}
cat <<AUTOLOAD | tee -a src/DocBlock/autoload.php
\Fedora\Autoloader\Dependencies::required([
'%{_datadir}/php/phpDocumentor/Reflection2/autoload-common.php',
'%{_datadir}/php/phpDocumentor/Reflection2/autoload-type-resolver.php',
$deps,
'%{_datadir}/php/Webmozart/Assert/autoload.php',
'%{_datadir}/php/PHPStan/PhpDocParser/autoload.php',
'%{_datadir}/php/Doctrine/Deprecations/autoload.php',
]);
@ -172,28 +165,12 @@ exit $RETURN_CODE
%changelog
* Thu Dec 25 2025 Remi Collet <remi@remirepo.net> - 5.6.6-1
- update to 5.6.6
- allow webmozart/assert version 2
* Fri Nov 28 2025 Remi Collet <remi@remirepo.net> - 5.6.5-1
- update to 5.6.5
* Wed Nov 19 2025 Remi Collet <remi@remirepo.net> - 5.6.4-1
- update to 5.6.4
* Thu Aug 28 2025 Remi Collet <remi@remirepo.net> - 5.6.3-1
- update to 5.6.3
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 5.6.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Mon Apr 14 2025 Remi Collet <remi@remirepo.net> - 5.6.2-1
- update to 5.6.2
* Sat Jan 18 2025 Fedora Release Engineering <releng@fedoraproject.org> - 5.6.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Mon Dec 23 2024 Remi Collet <remi@remirepo.net> - 5.6.1-2
- allow phpstan/phpdoc-parser v2

View file

@ -1 +1 @@
SHA512 (php-phpdocumentor-reflection-docblock5-5.6.6-5cee1d3.tar.gz) = e3583fd8d8a6e876909e56c7b040fe5d2f140b2b2aa19cd30bf74997b263dfd74a55a8cfafcc306fde831fc069700ce060d239c43c51f5446cd24d78a5af66d3
SHA512 (php-phpdocumentor-reflection-docblock5-5.6.3-94f8051.tar.gz) = 5deaddba705f5f7e78a034d73e1834c06a0fa7f9159530d7a882aa2473ec54d1c03daf9640afb7c12b7589f2d1d2c88182082bdaca686acaa2f7681d334e3d27