summaryrefslogtreecommitdiffstats
path: root/php-phpunit-php-timer5.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-04-21 11:31:58 +0200
committerRemi Collet <remi@php.net>2023-04-21 11:31:58 +0200
commit1ef7790fa37b2bb4f5f390aa36d0c40423c52acc (patch)
tree8a58436318d072264ac6857b8fc3348f6ef06892 /php-phpunit-php-timer5.spec
parent7eb586569dfc7c998bca8fe8cef7a9c86492365e (diff)
use SPDX License idHEADmaster
Diffstat (limited to 'php-phpunit-php-timer5.spec')
-rw-r--r--php-phpunit-php-timer5.spec15
1 files 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 <remi@remirepo.net> - 5.0.3-7
+- use SPDX License id
+
* Tue Oct 27 2020 Remi Collet <remi@remirepo.net> - 5.0.3-2
- add patch for test suite on 32-bit from
https://github.com/sebastianbergmann/php-timer/pull/36