summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-sebastian-lines-of-code3.spec15
1 files changed, 9 insertions, 6 deletions
diff --git a/php-sebastian-lines-of-code3.spec b/php-sebastian-lines-of-code3.spec
index e0c5750..8c89814 100644
--- a/php-sebastian-lines-of-code3.spec
+++ b/php-sebastian-lines-of-code3.spec
@@ -1,14 +1,14 @@
# remirepo/fedora spec file for php-sebastian-lines-of-code3
#
-# Copyright (c) 2020-2024 Remi Collet
-# License: CC-BY-SA-4.0
-# http://creativecommons.org/licenses/by-sa/4.0/
+# SPDX-FileCopyrightText: Copyright 2020-2025 Remi Collet
+# SPDX-License-Identifier: CECILL-2.1
+# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
#
# Please, preserve the changelog entries
#
# disabled until phpunit11 available
-%bcond_with tests
+%bcond_without tests
# github
%global gh_commit d36ad0d782e5756913e42ad87cb2890f4ffe467a
@@ -27,7 +27,7 @@
Name: php-%{pk_vendor}-%{pk_project}%{major}
Version: 3.0.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Counting the lines of code in PHP source code, version %{major}
License: BSD-3-Clause
@@ -96,7 +96,7 @@ touch vendor/autoload.php
: Run upstream test suite
ret=0
-for cmd in php php82 php83; do
+for cmd in php php82 php83 php84; do
if which $cmd; then
$cmd -d auto_prepend_file=%{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}%{major}/autoload.php \
%{_bindir}/phpunit11 || ret=1
@@ -117,6 +117,9 @@ exit $ret
%changelog
+* Tue Feb 4 2025 Remi Collet <remi@remirepo.net> - 3.0.1-2
+- enable test suite
+
* Wed Jul 3 2024 Remi Collet <remi@remirepo.net> - 3.0.1-1
- update to 3.0.1