diff --git a/.gitignore b/.gitignore index 837d5e4..7f5da49 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /php-phpdocumentor-reflection-docblock5-5.2.1-d870572.tar.gz /php-phpdocumentor-reflection-docblock5-5.2.2-069a785.tar.gz /php-phpdocumentor-reflection-docblock5-5.3.0-622548b.tar.gz +/php-phpdocumentor-reflection-docblock5-5.6.1-e5e7841.tar.gz diff --git a/php-phpdocumentor-reflection-docblock5.spec b/php-phpdocumentor-reflection-docblock5.spec index 9996e81..5d4ac56 100644 --- a/php-phpdocumentor-reflection-docblock5.spec +++ b/php-phpdocumentor-reflection-docblock5.spec @@ -1,14 +1,12 @@ # Fedora/remirepo spec file for php-phpdocumentor-reflection-docblock5 # -# Copyright (c) 2017-2020 Remi Collet, Shawn Iwinski -# 2014-2015 Remi Collet -# -# License: CC-BY-SA -# http://creativecommons.org/licenses/by-sa/4.0/ +# SPDX-FileCopyrightText: Copyright 2014-2024 Remi Collet +# SPDX-License-Identifier: CECILL-2.1 +# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt # # Please, preserve the changelog entries # -%global gh_commit 622548b623e81ca6d78b721c5e029f4ce664f170 +%global gh_commit e5e784149a09bd69d9a5e3b01c5cbd2e2bd653d8 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner phpDocumentor %global gh_project ReflectionDocBlock @@ -16,8 +14,8 @@ %bcond_without tests Name: php-phpdocumentor-reflection-docblock%{major} -Version: 5.3.0 -Release: 8%{?dist} +Version: 5.6.1 +Release: 1%{?dist} Summary: DocBlock parser License: MIT @@ -31,17 +29,24 @@ Source1: makesrc.sh BuildArch: noarch BuildRequires: php-fedora-autoloader-devel %if %{with tests} -BuildRequires: php(language) >= 7.2 +BuildRequires: php(language) >= 7.4 BuildRequires: php-filter -BuildRequires: (php-composer(phpdocumentor/type-resolver) >= 1.3 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(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(doctrine/deprecations) >= 1.1 with php-composer(doctrine/deprecations) < 2) # From composer.json, require-dev -# "mockery/mockery": "~1.3.2", -# "psalm/phar": "^4.8" -BuildRequires: phpunit9 +# "mockery/mockery": "~1.3.5 || ~1.6.0", +# "phpunit/phpunit": "^9.5", +# "phpstan/phpstan": "^1.8", +# "phpstan/phpstan-mockery": "^1.1", +# "phpstan/extension-installer": "^1.1", +# "phpstan/phpstan-webmozart-assert": "^1.2", +# "psalm/phar": "^5.26" +BuildRequires: phpunit9 >= 9.5 %global phpunit %{_bindir}/phpunit9 -BuildRequires: (php-composer(mockery/mockery) >= 1.3.2 with php-composer(mockery/mockery) < 2) +BuildRequires: (php-composer(mockery/mockery) >= 1.6 with php-composer(mockery/mockery) < 2) # From phpcompatinfo report for 5.0.0 BuildRequires: php-reflection BuildRequires: php-pcre @@ -49,16 +54,20 @@ BuildRequires: php-spl %endif # From composer.json, require -# "php": "^7.2 || ^8.0", -# "phpdocumentor/type-resolver": "^1.3", +# "php": "^7.4 || ^8.0", +# "phpdocumentor/type-resolver": "^1.7", # "webmozart/assert": "^1.9.1", # "phpdocumentor/reflection-common": "^2.2", -# "ext-filter": "*" -Requires: php(language) >= 7.2 +# "ext-filter": "*", +# "phpstan/phpdoc-parser": "^1.7|^2.0", +# "doctrine/deprecations": "^1.1" +Requires: php(language) >= 7.4 Requires: php-filter -Requires: (php-composer(phpdocumentor/type-resolver) >= 1.3 with php-composer(phpdocumentor/type-resolver) < 2) +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(doctrine/deprecations) >= 1.1 with php-composer(doctrine/deprecations) < 2) # From phpcompatinfo report for 4.3.2 Requires: php-reflection Requires: php-pcre @@ -102,6 +111,8 @@ cat < - 5.6.1-1 +- update to 5.6.1 +- re-license spec file to CECILL-2.1 +- raise dependency on PHP 7.4 +- raise dependency on phpdocumentor/type-resolver 1.7 +- add dependency on phpstan/phpdoc-parser +- add dependency on doctrine/deprecations + * Fri Jul 19 2024 Fedora Release Engineering - 5.3.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild diff --git a/sources b/sources index 8cbbc60..4cdc1dd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-phpdocumentor-reflection-docblock5-5.3.0-622548b.tar.gz) = 271a65d82506c6fe76dffcff5132f86adcb6843744a734d7ca4d44714af702f24fc545e5786cd3700ca36e6fc1e1d7209a5d1a1bad1a51dcae2850ec39e4c4eb +SHA512 (php-phpdocumentor-reflection-docblock5-5.6.1-e5e7841.tar.gz) = fe75fa59b67a73f3e7916dcd2ef0773b020cad68a2b0235d770409ea11e9d8d7ea1cd47697c85dd348dccfd57abc680863ed871a0e4be78d8696af70020b08a9