diff options
author | Remi Collet <remi@remirepo.net> | 2023-04-21 12:21:53 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2023-04-21 12:21:53 +0200 |
commit | 3a229c97b8635ba69d82f49d70b3f279dfae9d6f (patch) | |
tree | 42d77685fa1a10a9dcfb2a3654cb66b028bdf1b0 | |
parent | f7952be10173f4a80b52dd6929c14d355ca0183d (diff) |
use SPDX License id
-rw-r--r-- | php-sebastian-lines-of-code.spec | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/php-sebastian-lines-of-code.spec b/php-sebastian-lines-of-code.spec index 7025b65..470ff27 100644 --- a/php-sebastian-lines-of-code.spec +++ b/php-sebastian-lines-of-code.spec @@ -1,7 +1,7 @@ # remirepo/fedora spec file for php-sebastian-lines-of-code # -# 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 @@ -25,10 +25,10 @@ Name: php-%{pk_vendor}-%{pk_project}%{major} Version: 1.0.3 -Release: 1%{?dist} -Summary: Counting the lines of code in PHP source code +Release: 7%{?dist} +Summary: Counting the lines of code in PHP source code, version 1 -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 @@ -74,6 +74,10 @@ Provides: php-composer(%{pk_vendor}/%{pk_project}) = %{version} %description Library for counting the lines of code in PHP source code. +This package provides the version 1 of %{pk_vendor}/%{pk_project} library. + +Autoloader: %{php_home}/%{ns_vendor}/%{ns_project}%{major}/autoload.php + %prep %setup -q -n %{gh_project}-%{gh_commit} @@ -102,7 +106,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 @@ -125,6 +129,9 @@ exit $ret %changelog +* Fri Apr 21 2023 Remi Collet <remi@remirepo.net> - 1.0.3-7 +- use SPDX License id + * Mon Nov 30 2020 Remi Collet <remi@remirepo.net> - 1.0.3-1 - update to 1.0.3 |