From d6513bb55cb5ebb018995d45716b9f5e5b17727c Mon Sep 17 00:00:00 2001
From: Remi Collet <remi@remirepo.net>
Date: Thu, 20 Apr 2023 15:55:39 +0200
Subject: use SPDX license ID

---
 php-phpunit-php-code-coverage7.spec | 19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)

(limited to 'php-phpunit-php-code-coverage7.spec')

diff --git a/php-phpunit-php-code-coverage7.spec b/php-phpunit-php-code-coverage7.spec
index dff7435..dc7a263 100644
--- a/php-phpunit-php-code-coverage7.spec
+++ b/php-phpunit-php-code-coverage7.spec
@@ -1,7 +1,7 @@
 # remirepo/fedora spec file for php-phpunit-php-code-coverage7
 #
-# Copyright (c) 2013-2019 Remi Collet
-# License: CC-BY-SA
+# Copyright (c) 2013-2023 Remi Collet
+# License: CC-BY-SA-4.0
 # http://creativecommons.org/licenses/by-sa/4.0/
 #
 # Please, preserve the changelog entries
@@ -30,14 +30,14 @@
 
 Name:           php-%{pk_vendor}-%{pk_project}%{ver_major}
 Version:        7.0.15
-Release:        1%{?dist}
+Release:        5%{?dist}
 Summary:        PHP code coverage information
 
-# Main license is BSD
-# BSD: D3
+# SPDX: Main license is BSD-3-Clause
+# BSD-3-Clause: D3
 # MIT: boostrap, d3, holder, html5shiv, jquery, respond
-# ASL 2.0: nvd3
-License:        BSD and MIT and ASL 2.0
+# Apache-2.0: nvd3
+License:        BSD-3-Clause AND MIT AND Apache-2.0
 URL:            https://github.com/%{gh_vendor}/%{gh_project}
 Source0:        https://github.com/%{gh_vendor}/%{gh_project}/archive/%{gh_commit}/%{name}-%{version}-%{gh_short}.tar.gz
 
@@ -184,7 +184,7 @@ EOF
 
 
 ret=0
-for cmd in php php73 php74 php80; do
+for cmd in php php74 php80 php81 php82; do
   if which $cmd; then
     if [ $($cmd -r 'echo PHP_VERSION_ID;') -lt 80000 ]; then
       # ignore test failing with phpunit/php-token-stream v4
@@ -213,6 +213,9 @@ exit $ret
 
 
 %changelog
+* Thu Apr 20 2023 Remi Collet <remi@fedoraproject.org> - 7.0.15-5
+- use SPDX license ID
+
 * Mon Jul 26 2021 Remi Collet <remi@remirepo.net> - 7.0.15-1
 - update to 7.0.15 (no change)
 
-- 
cgit