summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-sebastian-diff6.spec16
1 files changed, 9 insertions, 7 deletions
diff --git a/php-sebastian-diff6.spec b/php-sebastian-diff6.spec
index 3dbc7f1..0eeba34 100644
--- a/php-sebastian-diff6.spec
+++ b/php-sebastian-diff6.spec
@@ -1,14 +1,14 @@
# remirepo/fedora spec file for php-sebastian-diff6
#
-# Copyright (c) 2013-2024 Remi Collet
-# License: CC-BY-SA-4.0
-# http://creativecommons.org/licenses/by-sa/4.0/
+# SPDX-FileCopyrightText: Copyright 2013-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
%global gh_commit b4ccd857127db5d41a5b676f24b51371d76d8544
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
@@ -27,7 +27,7 @@
Name: php-%{pk_vendor}-%{pk_project}%{major}
Version: 6.0.2
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Diff implementation, version %{major}
License: BSD-3-Clause
@@ -92,7 +92,7 @@ mkdir vendor
: 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
@@ -105,7 +105,6 @@ exit $ret
%files
-%{!?_licensedir:%global license %%doc}
%license LICENSE
%doc composer.json
%doc *.md
@@ -114,6 +113,9 @@ exit $ret
%changelog
+* Tue Feb 4 2025 Remi Collet <remi@remirepo.net> - 6.0.2-2
+- enable test suite
+
* Wed Jul 3 2024 Remi Collet <remi@remirepo.net> - 6.0.2-1
- update to 6.0.2