diff options
Diffstat (limited to 'php-sebastian-code-unit-reverse-lookup4.spec')
-rw-r--r-- | php-sebastian-code-unit-reverse-lookup4.spec | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/php-sebastian-code-unit-reverse-lookup4.spec b/php-sebastian-code-unit-reverse-lookup4.spec index 8bbf564..7ee3c5d 100644 --- a/php-sebastian-code-unit-reverse-lookup4.spec +++ b/php-sebastian-code-unit-reverse-lookup4.spec @@ -1,20 +1,20 @@ # remirepo/fedora spec file for php-sebastian-code-unit-reverse-lookup4 # -# Copyright (c) 2016-2024 Remi Collet -# License: CC-BY-SA-4.0 -# http://creativecommons.org/licenses/by-sa/4.0/ +# SPDX-FileCopyrightText: Copyright 2016-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 df80c875d3e459b45c6039e4d9b71d4fbccae25d +%global gh_commit 183a9b2632194febd219bb9246eee421dad8d45e %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner sebastianbergmann %global gh_project code-unit-reverse-lookup -%global gh_date 2024-02-02 +%global gh_date 2024-07-03 # Packagist %global pk_vendor sebastian %global pk_project %{gh_project} @@ -25,12 +25,13 @@ %global php_home %{_datadir}/php Name: php-%{pk_vendor}-%{pk_project}%{major} -Version: 4.0.0 -Release: 1%{?dist} +Version: 4.0.1 +Release: 2%{?dist} Summary: Looks up which function or method a line of code belongs to, version %{major} License: BSD-3-Clause URL: https://github.com/%{gh_owner}/%{gh_project} +# run makesrc.sh to create a git snapshot with test suite Source0: %{name}-%{version}-%{gh_short}.tgz Source1: makesrc.sh @@ -84,7 +85,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 @@ -97,8 +98,6 @@ exit $ret %files -# remirepo:1 -%{!?_licensedir:%global license %%doc} %license LICENSE %doc *.md %doc composer.json @@ -107,6 +106,12 @@ exit $ret %changelog +* Tue Feb 4 2025 Remi Collet <remi@remirepo.net> - 4.0.1-2 +- enable test suite + +* Wed Jul 3 2024 Remi Collet <remi@remirepo.net> - 4.0.1-1 +- update to 4.0.1 + * Mon Feb 5 2024 Remi Collet <remi@remirepo.net> - 4.0.0-1 - update to 4.0.0 - raise dependency on PHP 8.2 |