Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b151e878df |
3 changed files with 12 additions and 10 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1 +1,2 @@
|
|||
/php-sebastian-code-unit3-3.0.2-ee88b0c.tgz
|
||||
/php-sebastian-code-unit3-3.0.3-54391c6.tgz
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# remirepo/fedora spec file for php-sebastian-code-unit3
|
||||
#
|
||||
# SPDX-FileCopyrightText: Copyright 2024 Remi Collet
|
||||
# SPDX-FileCopyrightText: Copyright 2020-2025 Remi Collet
|
||||
# SPDX-License-Identifier: CECILL-2.1
|
||||
# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
|
||||
#
|
||||
|
|
@ -8,14 +8,14 @@
|
|||
#
|
||||
|
||||
# disabled until phpunit11 available
|
||||
%bcond_with tests
|
||||
%bcond_without tests
|
||||
|
||||
# Sources
|
||||
%global gh_commit ee88b0cdbe74cf8dd3b54940ff17643c0d6543ca
|
||||
%global gh_commit 54391c61e4af8078e5b276ab082b6d3c54c9ad64
|
||||
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
|
||||
%global gh_owner sebastianbergmann
|
||||
%global gh_project code-unit
|
||||
%global gh_date 2024-12-12
|
||||
%global gh_date 2025-03-19
|
||||
# Packagist
|
||||
%global pk_vendor sebastian
|
||||
%global pk_project %{gh_project}
|
||||
|
|
@ -26,7 +26,7 @@
|
|||
%global ns_project CodeUnit
|
||||
|
||||
Name: php-%{pk_vendor}-%{pk_project}%{major}
|
||||
Version: 3.0.2
|
||||
Version: 3.0.3
|
||||
Release: 1%{?dist}
|
||||
Summary: Collection of value objects that represent the PHP code units, version %{major}
|
||||
|
||||
|
|
@ -38,8 +38,6 @@ Source1: makesrc.sh
|
|||
|
||||
BuildArch: noarch
|
||||
BuildRequires: php(language) >= 8.2
|
||||
BuildRequires: php-reflection
|
||||
BuildRequires: php-spl
|
||||
# Autoloader
|
||||
BuildRequires: php-fedora-autoloader-devel
|
||||
%if %{with tests}
|
||||
|
|
@ -52,8 +50,6 @@ BuildRequires: phpunit11 >= 11.5
|
|||
# "php": ">=8.2"
|
||||
Requires: php(language) >= 8.2
|
||||
# From phpcompatinfo report for 2.0.0
|
||||
Requires: php-reflection
|
||||
Requires: php-spl
|
||||
# Autoloader
|
||||
Requires: php-composer(fedora/autoloader)
|
||||
|
||||
|
|
@ -100,6 +96,7 @@ cat << 'EOF' | tee vendor/autoload.php
|
|||
require_once dirname(__DIR__) . '/tests/_fixture/autoload.php';
|
||||
require_once dirname(__DIR__) . '/tests/_fixture/file_with_multiple_code_units.php';
|
||||
require_once dirname(__DIR__) . '/tests/_fixture/function.php';
|
||||
require_once dirname(__DIR__) . '/tests/_fixture/issue_9.php';
|
||||
EOF
|
||||
|
||||
: Run tests
|
||||
|
|
@ -122,6 +119,10 @@ exit $ret
|
|||
|
||||
|
||||
%changelog
|
||||
* Wed Mar 19 2025 Remi Collet <remi@remirepo.net> - 3.0.3-1
|
||||
- update to 3.0.3
|
||||
- enable test suite
|
||||
|
||||
* Thu Dec 12 2024 Remi Collet <remi@remirepo.net> - 3.0.2-1
|
||||
- update to 3.0.2
|
||||
- re-license spec file to CECILL-2.1
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (php-sebastian-code-unit3-3.0.2-ee88b0c.tgz) = 6614511b6487370dd231c6e01911915b143a226e7c6a6bf04606ef5e8de15f7634c5ac099f0b7ee15f5b8e7094681aff6b7d905b4a6cc52f5fc9677987f3b5f8
|
||||
SHA512 (php-sebastian-code-unit3-3.0.3-54391c6.tgz) = 65690d6d35d34c319ad6573557b0767059db38b327cbbc3f3a27f20fb7b90742425f455db5806206d27ef1824467b33c05ad3eb7d17a0053a0afd1923986ac1e
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue