summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-04-21 11:41:36 +0200
committerRemi Collet <remi@php.net>2023-04-21 11:41:36 +0200
commit2ccabc52a105ce775631ecb669e08193c0a79750 (patch)
tree3fce208c55153291ecf5ac8fed4424bce8d4bc56
parent2e96ecc82e1bfe0f4df130bee74e5add68c6a7cb (diff)
use SPDX License idHEADmaster
-rw-r--r--php-sebastian-code-unit.spec17
1 files changed, 11 insertions, 6 deletions
diff --git a/php-sebastian-code-unit.spec b/php-sebastian-code-unit.spec
index 47f5548..cb41e15 100644
--- a/php-sebastian-code-unit.spec
+++ b/php-sebastian-code-unit.spec
@@ -1,7 +1,7 @@
# remirepo/fedora spec file for php-sebastian-code-unit
#
-# 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.8
-Release: 1%{?dist}
-Summary: Collection of value objects that represent the PHP code units
+Release: 7%{?dist}
+Summary: Collection of value objects that represent the PHP code units, version 1
-License: BSD
+License: BSD-3-Clause
URL: https://github.com/%{gh_owner}/%{gh_project}
Source0: %{name}-%{version}-%{gh_short}.tgz
Source1: makesrc.sh
@@ -60,6 +60,8 @@ Provides: php-composer(%{pk_vendor}/%{pk_project}) = %{version}
%description
Collection of value objects that represent the PHP code units.
+This package provides version 1 of %{pk_vendor}/%{pk_project} library.
+
Autoloader: %{php_home}/%{ns_vendor}/%{ns_project}%{major}/autoload.php
@@ -99,7 +101,7 @@ EOF
: Run tests
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
@@ -119,6 +121,9 @@ exit $ret
%changelog
+* Fri Apr 21 2023 Remi Collet <remi@remirepo.net> - 1.0.8-7
+- use SPDX License id
+
* Mon Oct 26 2020 Remi Collet <remi@remirepo.net> - 1.0.8-1
- update to 1.0.8