From 1ef7790fa37b2bb4f5f390aa36d0c40423c52acc Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 21 Apr 2023 11:31:58 +0200 Subject: use SPDX License id --- php-phpunit-php-timer5.spec | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/php-phpunit-php-timer5.spec b/php-phpunit-php-timer5.spec index 9e08e30..a6e3bd6 100644 --- a/php-phpunit-php-timer5.spec +++ b/php-phpunit-php-timer5.spec @@ -1,6 +1,6 @@ # remirepo/fedora spec file for php-phpunit-php-timer4 # -# Copyright (c) 2010-2020 Christof Damian, Remi Collet +# Copyright (c) 2010-2023 Christof Damian, Remi Collet # # License: MIT # http://opensource.org/licenses/MIT @@ -25,10 +25,10 @@ Name: php-%{pk_vendor}-%{pk_project}%{major} Version: 5.0.3 -Release: 2%{?dist} +Release: 7%{?dist} Summary: PHP Utility class for timing, 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 @@ -59,6 +59,10 @@ Provides: php-composer(%{pk_vendor}/%{pk_project}) = %{version} Utility class for timing things, factored out of PHPUnit into a stand-alone component. +This package provides version %{major} of %{pk_vendor}/%{pk_project} library. + +Autoloader: %{php_home}/%{ns_vendor}/%{ns_project}/autoload.php + %prep %setup -q -n %{gh_project}-%{gh_commit} @@ -84,7 +88,7 @@ touch vendor/autoload.php : 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 \ @@ -106,6 +110,9 @@ exit $ret %changelog +* Fri Apr 21 2023 Remi Collet - 5.0.3-7 +- use SPDX License id + * Tue Oct 27 2020 Remi Collet - 5.0.3-2 - add patch for test suite on 32-bit from https://github.com/sebastianbergmann/php-timer/pull/36 -- cgit