summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-04-21 11:37:58 +0200
committerRemi Collet <remi@php.net>2023-04-21 11:37:58 +0200
commitb06c3075c37d3b03d43d6284077f7107d76ae23a (patch)
tree62389519bc8690b6738b11c91f64eb91b30c76a0
parent725f0e03fbf18f673dcfc1775bba5a6050145f14 (diff)
use SPDX License id
-rw-r--r--php-sebastian-cli-parser.spec17
1 files changed, 11 insertions, 6 deletions
diff --git a/php-sebastian-cli-parser.spec b/php-sebastian-cli-parser.spec
index 6f7635f..4f3afaf 100644
--- a/php-sebastian-cli-parser.spec
+++ b/php-sebastian-cli-parser.spec
@@ -1,7 +1,7 @@
# remirepo/fedora spec file for php-sebastian-cli-parser
#
-# 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.1
-Release: 1%{?dist}
-Summary: Library for parsing CLI options
+Release: 7%{?dist}
+Summary: Library for parsing CLI options, 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
@@ -62,6 +62,8 @@ Provides: php-composer(%{pk_vendor}/%{pk_project}) = %{version}
%description
Library for parsing $_SERVER['argv'], extracted from phpunit/phpunit.
+This package provides version 1 of %{pk_vendor}/%{pk_project} library.
+
Autoloader: %{php_home}/%{ns_vendor}/%{ns_project}%{major}/autoload.php
@@ -86,7 +88,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
@@ -109,6 +111,9 @@ exit $ret
%changelog
+* Fri Apr 21 2023 Remi Collet <remi@remirepo.net> - 1.0.1-7
+- use SPDX License id
+
* Mon Sep 28 2020 Remi Collet <remi@remirepo.net> - 1.0.1-1
- update to 1.0.1