summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-sebastian-global-state5.spec19
1 files changed, 13 insertions, 6 deletions
diff --git a/php-sebastian-global-state5.spec b/php-sebastian-global-state5.spec
index b4e5184..572af9d 100644
--- a/php-sebastian-global-state5.spec
+++ b/php-sebastian-global-state5.spec
@@ -1,7 +1,7 @@
-# spec file for php-sebastian-global-state4
+# spec file for php-sebastian-global-state5
#
-# Copyright (c) 2014-2022 Remi Collet
-# License: CC-BY-SA
+# Copyright (c) 2014-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: 5.0.5
-Release: 1%{?dist}
+Release: 4%{?dist}
Summary: Snapshotting of global state, version %{major}
-License: BSD
+License: BSD-3-Clause
URL: https://github.com/%{gh_owner}/%{gh_project}
Source0: %{name}-%{version}-%{gh_short}.tgz
Source1: makesrc.sh
@@ -87,6 +87,10 @@ Provides: php-composer(%{pk_vendor}/%{pk_project}) = %{version}
Snapshotting of global state,
factored out of PHPUnit into a stand-alone component.
+This package provides version %{major} of %{pk_vendor}/%{pk_project} library.
+
+Autoloader: %{php_home}/%{ns_vendor}/%{ns_project}%{major}/autoload.php
+
%prep
%setup -q -n %{gh_project}-%{gh_commit}
@@ -126,7 +130,7 @@ EOF
: Run upstream test suite
ret=0
-for cmd in php php74 php80 php81; 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 \
@@ -151,6 +155,9 @@ exit $ret
%changelog
+* Fri Apr 21 2023 Remi Collet <remi@remirepo.net> - 5.0.5-3
+- use SPDX License id
+
* Mon Feb 14 2022 Remi Collet <remi@remirepo.net> - 5.0.5-1
- update to 5.0.5