diff options
-rw-r--r-- | php-sebastian-complexity.spec | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/php-sebastian-complexity.spec b/php-sebastian-complexity.spec index a027e82..0d32a58 100644 --- a/php-sebastian-complexity.spec +++ b/php-sebastian-complexity.spec @@ -1,7 +1,7 @@ # remirepo/fedora spec file for php-sebastian-complexity # -# Copyright (c) 2020 Remi Collet -# License: CC-BY-SA +# Copyright (c) 2020-2023 Remi Collet +# License: CC-BY-SA-4.0 # http://creativecommons.org/licenses/by-sa/4.0/ # # Please, preserve the changelog entries @@ -24,10 +24,10 @@ Name: php-%{pk_vendor}-%{pk_project}%{major} Version: 2.0.2 -Release: 1%{?dist} -Summary: Calculating the complexity of PHP code units +Release: 7%{?dist} +Summary: Calculating the complexity of PHP code units, version 2 -License: BSD +License: BSD-3-Clause URL: https://github.com/%{gh_owner}/%{gh_project} # git snapshot to retrieve test suite Source0: %{name}-%{version}-%{gh_short}.tgz @@ -73,6 +73,10 @@ Provides: php-composer(%{pk_vendor}/%{pk_project}) = %{version} %description Library for calculating the complexity of PHP code units. +This package provides version 2 of %{pk_vendor}/%{pk_project} library. + +Autoloader: %{php_home}/%{ns_vendor}/%{ns_project}%{major}/autoload.php + %prep %setup -q -n %{gh_project}-%{gh_commit} @@ -101,7 +105,7 @@ touch vendor/autoload.php : Run upstream test suite ret=0 -for cmd in php php73 php74 php80; do +for cmd in php php80 php81 php82; do if which $cmd; then $cmd -d auto_prepend_file=%{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}%{major}/autoload.php \ %{_bindir}/phpunit9 --verbose || ret=1 @@ -124,6 +128,9 @@ exit $ret %changelog +* Fri Apr 21 2023 Remi Collet <remi@remirepo.net> - 2.0.2-7 +- use SPDX License id + * Tue Oct 27 2020 Remi Collet <remi@remirepo.net> - 2.0.2-1 - update to 2.0.2 |