From 35d1df9f4d7c355d7df40cdac16e093b0ab78bec Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 13 May 2025 07:56:11 +0200 Subject: update to 1.5.9 (SPDX 3.26.0) re-license spec file to CECILL-2.1 --- composer.json | 4 ++-- php-composer-spdx-licenses.spec | 22 ++++++++++++---------- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/composer.json b/composer.json index dd30895..e1701c0 100644 --- a/composer.json +++ b/composer.json @@ -33,8 +33,8 @@ "php": "^5.3.2 || ^7.0 || ^8.0" }, "require-dev": { - "symfony/phpunit-bridge": "^4.2 || ^5", - "phpstan/phpstan": "^0.12.55" + "symfony/phpunit-bridge": "^3 || ^7", + "phpstan/phpstan": "^1.11" }, "autoload": { "psr-4": { diff --git a/php-composer-spdx-licenses.spec b/php-composer-spdx-licenses.spec index 38d11dd..1037d9a 100644 --- a/php-composer-spdx-licenses.spec +++ b/php-composer-spdx-licenses.spec @@ -1,12 +1,12 @@ # remirepo/fedora spec file for php-composer-spdx-licenses # -# Copyright (c) 2015-2023 Remi Collet -# License: CC-BY-SA-4.0 -# http://creativecommons.org/licenses/by-sa/4.0/ +# SPDX-FileCopyrightText: Copyright 2015-2025 Remi Collet +# SPDX-License-Identifier: CECILL-2.1 +# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt # # Please, preserve the changelog entries # -%global gh_commit 560bdcf8deb88ae5d611c80a2de8ea9d0358cc0a +%global gh_commit edf364cefe8c43501e21e88110aac10b284c3c9f %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) #global gh_date 20150717 %global gh_owner composer @@ -15,7 +15,7 @@ %bcond_without tests Name: php-composer-spdx-licenses -Version: 1.5.8 +Version: 1.5.9 Release: 1%{?gh_date:.%{gh_date}git%{gh_short}}%{?dist} Summary: SPDX licenses list and validation library @@ -36,8 +36,8 @@ BuildRequires: php-json BuildRequires: php-pcre BuildRequires: php-spl # From composer.json, "require-dev": { -# "phpunit/phpunit": "phpunit/phpunit": "^4.8.35 || ^5.7 || 6.5 - 7", -# ignore min version, test suite passes with 9.6.13 +# "symfony/phpunit-bridge": "^3 || ^7", +# "phpstan/phpstan": "^1.11" BuildRequires: phpunit9 # Autoloader BuildRequires: php-composer(fedora/autoloader) @@ -107,7 +107,7 @@ export BUILDROOT_SPDX=%{buildroot} sed -e '/setUp()/s/$/:void/' -i tests/*.php ret=0 -for cmd in php php80 php81 php82 php83; do +for cmd in php php81 php82 php83 php84; do if which $cmd; then $cmd -d memory_limit=1G ${2:-%{_bindir}/phpunit9} \ --bootstrap %{buildroot}%{php_home}/Composer/Spdx/autoload.php \ @@ -122,8 +122,6 @@ exit $ret %files -# remirepo:1 -%{!?_licensedir:%global license %%doc} %license LICENSE %doc composer.json %doc *.md @@ -133,6 +131,10 @@ exit $ret %changelog +* Tue May 13 2025 Remi Collet - 1.5.9-1 +- update to 1.5.9 (SPDX 3.26.0) +- re-license spec file to CECILL-2.1 + * Mon Nov 20 2023 Remi Collet - 1.5.8-1 - update to 1.5.8 (SPDX 3.22) - switch to phpunit9 -- cgit