summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-04-21 12:26:11 +0200
committerRemi Collet <remi@php.net>2023-04-21 12:26:11 +0200
commit5f7c96b070fcb4f4b3f14416adffaa748a3cb38b (patch)
tree6bec5371e119102daa21c42ac3e5117bc4fb8e81
parentb5ac784229004b9720b4db3a94a86827840d95f8 (diff)
use SPDX License idHEADmaster
-rw-r--r--php-sebastian-object-enumerator4.spec16
1 files changed, 10 insertions, 6 deletions
diff --git a/php-sebastian-object-enumerator4.spec b/php-sebastian-object-enumerator4.spec
index a71c357..1440c4e 100644
--- a/php-sebastian-object-enumerator4.spec
+++ b/php-sebastian-object-enumerator4.spec
@@ -1,7 +1,7 @@
# remirepo/fedora spec file for php-sebastian-object-enumerator4
#
-# Copyright (c) 2015-2020 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
@@ -25,11 +25,10 @@
Name: php-%{pk_vendor}-%{pk_project}%{major}
Version: 4.0.4
-%global specrel 1
-Release: %{?gh_date:1%{specrel}.%{?prever}%{!?prever:%{gh_date}git%{gh_short}}}%{!?gh_date:%{specrel}}%{?dist}
+Release: 2%{?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: %{name}-%{version}-%{gh_short}.tgz
Source1: makesrc.sh
@@ -78,6 +77,8 @@ Provides: php-composer(%{pk_vendor}/%{pk_project}) = %{version}
Traverses array structures and object graphs to enumerate all
referenced objects.
+This package provides version %{major} of %{pk_vendor}/%{pk_project} library.
+
Autoloader: %{php_home}/%{ns_vendor}/%{ns_project}%{major}/autoload.php
@@ -110,7 +111,7 @@ mkdir vendor
: 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
@@ -131,6 +132,9 @@ exit $ret
%changelog
+* Fri Apr 21 2023 Remi Collet <remi@remirepo.net> - 4.0.4-2
+- use SPDX License id
+
* Mon Oct 26 2020 Remi Collet <remi@remirepo.net> - 4.0.4-1
- update to 4.0.4