From a4b35709c75238fb643f12bcea832b504ef60540 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 23 Dec 2024 09:53:32 +0100 Subject: re-license spec file to CECILL-2.1 --- php-phplang-scope-exit.spec | 29 ++++++++++++++++++++--------- 1 file changed, 20 insertions(+), 9 deletions(-) (limited to 'php-phplang-scope-exit.spec') diff --git a/php-phplang-scope-exit.spec b/php-phplang-scope-exit.spec index 5c0973c..754ee45 100644 --- a/php-phplang-scope-exit.spec +++ b/php-phplang-scope-exit.spec @@ -1,8 +1,8 @@ # remirepo/fedora spec file for php-phplang-scope-exit # -# Copyright (c) 2019 Remi Collet -# License: CC-BY-SA -# http://creativecommons.org/licenses/by-sa/4.0/ +# SPDX-FileCopyrightText: Copyright 2019-2024 Remi Collet +# SPDX-License-Identifier: CECILL-2.1 +# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt # # Please, preserve the changelog entries # @@ -23,10 +23,10 @@ Name: php-%{pk_vendor}-%{pk_project}%{major} Version: 1.0.0 -Release: 2%{?gh_date?%{gh_date}git%{gh_short}}%{?dist} +Release: 13%{?gh_date?%{gh_date}git%{gh_short}}%{?dist} Summary: Emulation of SCOPE_EXIT construct from C++ -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 @@ -35,8 +35,8 @@ BuildArch: noarch BuildRequires: php(language) # For tests, from composer.json "require-dev": { # "phpunit/phpunit": "*", -BuildRequires: php-composer(phpunit/phpunit) -%global phpunit %{_bindir}/phpunit +BuildRequires: phpunit10 +%global phpunit %{_bindir}/phpunit10 # For autoloader BuildRequires: php-fedora-autoloader-devel %endif @@ -83,12 +83,17 @@ mkdir vendor cat << 'EOF' | tee vendor/autoload.php - 1.0.0-13 +- re-license spec file to CECILL-2.1 + +* Wed Jan 31 2024 Remi Collet - 1.0.0-12 +- switch to phpunit10, fix FTBFS #2261502 + * Thu Sep 19 2019 Remi Collet - 1.0.0-2 - add commit to include LICENSE file (no change) -- cgit