summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-sebastian-object-enumerator3.spec17
1 files changed, 11 insertions, 6 deletions
diff --git a/php-sebastian-object-enumerator3.spec b/php-sebastian-object-enumerator3.spec
index 07ed1ff..df44b7e 100644
--- a/php-sebastian-object-enumerator3.spec
+++ b/php-sebastian-object-enumerator3.spec
@@ -1,7 +1,7 @@
# remirepo/fedora spec file for php-sebastian-object-enumerator3
#
-# Copyright (c) 2015-2021 Remi Collet
-# License: CC-BY-SA
+# Copyright (c) 2015-2023 Remi Collet
+# License: CC-BY-SA-4.0
# http://creativecommons.org/licenses/by-sa/4.0/
#
# Please, preserve the changelog entries
@@ -28,10 +28,10 @@
Name: php-%{pk_vendor}-%{pk_project}%{major}
Version: 3.0.4
-Release: 4%{?dist}
-Summary: Traverses array and object to enumerate all referenced objects
+Release: 9%{?dist}
+Summary: Traverses array and object to enumerate all referenced objects, version %{major}
-License: BSD
+License: BSD-3-Clause
URL: https://github.com/%{gh_owner}/%{gh_project}
Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{name}-%{version}-%{gh_short}.tar.gz
@@ -80,6 +80,8 @@ Provides: php-composer(%{pk_vendor}/%{pk_project}) = %{version}
Traverses array structures and object graphs to enumerate all
referenced objects.
+This package provides the version %{major} of the library.
+
Autoloader: %{php_home}/%{ns_vendor}/%{ns_project}%{major}/autoload.php
@@ -114,7 +116,7 @@ find tests/ -name \*php -exec sed -e 's/setUp()/setUp():void/' -i {} \;
: Run upstream test suite
ret=0
-for cmd in php php72 php73 php74 php80; do
+for cmd in php php80 php81 php82; do
if which $cmd; then
%{_bindir}/php -d auto_prepend_file=%{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}%{major}/autoload.php \
%{_bindir}/phpunit8 --verbose || ret=1
@@ -135,6 +137,9 @@ exit $ret
%changelog
+* Fri Apr 21 2023 Remi Collet <remi@remirepo.net> - 3.0.4-9
+- use SPDX License id
+
* Wed Mar 10 2021 Remi Collet <remi@remirepo.net> - 3.0.4-4
- switch to phpunit8