summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-04-20 16:04:08 +0200
committerRemi Collet <remi@php.net>2023-04-20 16:04:08 +0200
commitfdc526b167609a002df8321c57d85aac7001230d (patch)
tree9e4b95f8785fc9caef2ca3402d49ca229c95929b
parentbb1564df8447172aed4bc1482af24dc2d1fb1cb0 (diff)
use SPDX license IDHEADmaster
-rw-r--r--php-phpunit-php-invoker2.spec14
1 files changed, 9 insertions, 5 deletions
diff --git a/php-phpunit-php-invoker2.spec b/php-phpunit-php-invoker2.spec
index d8124a7..50fe114 100644
--- a/php-phpunit-php-invoker2.spec
+++ b/php-phpunit-php-invoker2.spec
@@ -1,7 +1,7 @@
# remirepo/fedora spec file for php-phpunit-php-invoker2
#
-# Copyright (c) 2011-2018 Remi Collet
-# License: CC-BY-SA
+# Copyright (c) 2011-2023 Remi Collet
+# License: CC-BY-SA-4.0
# http://creativecommons.org/licenses/by-sa/4.0/
#
# Please, preserve the changelog entries
@@ -22,10 +22,10 @@
Name: php-phpunit-php-invoker2
Version: 2.0.1
-Release: 1%{?dist}
+Release: 7%{?dist}
Summary: Invoke callables with a timeout
-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
@@ -81,7 +81,7 @@ mkdir vendor
: Run upstream test suite
ret=0
-for cmd in php php72 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}/autoload.php \
%{_bindir}/phpunit8 --verbose || ret=1
@@ -92,6 +92,7 @@ exit $ret
%files
+# remirepo:1
%{!?_licensedir:%global license %%doc}
%license LICENSE
%doc README.md
@@ -101,6 +102,9 @@ exit $ret
%changelog
+* Thu Apr 20 2023 Remi Collet <remi@remirepo.net> - 2.0.1-7
+- use SPDX license ID
+
* Mon Nov 30 2020 Remi Collet <remi@remirepo.net> - 2.0.1-1
- update to 2.0.1 (no change)
- switch to phpunit8