diff --git a/.gitignore b/.gitignore index 6172544..d94e1f7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ /php-sebastian-type5-5.0.0-b850278.tgz /php-sebastian-type5-5.0.1-fb6a656.tgz /php-sebastian-type5-5.1.0-461b9c5.tgz +/php-sebastian-type5-5.1.2-a8a7e30.tgz +/php-sebastian-type5-5.1.3-f77d2d4.tgz diff --git a/php-sebastian-type5.spec b/php-sebastian-type5.spec index ccd379f..92cfddd 100644 --- a/php-sebastian-type5.spec +++ b/php-sebastian-type5.spec @@ -1,21 +1,21 @@ # remirepo/fedora spec file for php-sebastian-type5 # -# Copyright (c) 2019-2024 Remi Collet -# License: CC-BY-SA-4.0 -# http://creativecommons.org/licenses/by-sa/4.0/ +# SPDX-FileCopyrightText: Copyright 2019-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 461b9c5da241511a2a0e8f240814fb23ce5c0aac +%global gh_commit f77d2d4e78738c98d9a68d2596fe5e8fa380f449 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner sebastianbergmann %global gh_project type -%global gh_date 2024-09-17 +%global gh_date 2025-08-09 # packagist %global pk_vendor sebastian %global pk_project %{gh_project} @@ -26,7 +26,7 @@ %global ns_project Type Name: php-%{pk_vendor}-%{pk_project}%{major} -Version: 5.1.0 +Version: 5.1.3 Release: 1%{?dist} Summary: Collection of value objects that represent the types of the PHP type system, v%{major} @@ -38,7 +38,6 @@ Source1: makesrc.sh BuildArch: noarch BuildRequires: php(language) >= 8.2 -BuildRequires: php-reflection # Autoloader BuildRequires: php-fedora-autoloader-devel >= 1.0.0 %if %{with tests} @@ -51,7 +50,6 @@ BuildRequires: phpunit11 >= 11.3 # "php": ">=8.2", Requires: php(language) >= 8.2 # from phpcompatinfo report for version 4.0.0 -Requires: php-reflection # Autoloader Requires: php-composer(fedora/autoloader) @@ -95,7 +93,7 @@ EOF : Run upstream test suite ret=0 -for cmd in php php82 php83 php84; do +for cmd in php php82 php83 php84 php85; do if which $cmd; then $cmd -d auto_prepend_file=%{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}%{major}/autoload.php \ %{_bindir}/phpunit11 --bootstrap vendor/autoload.php --no-coverage || ret=1 @@ -116,6 +114,13 @@ exit $ret %changelog +* Sun Aug 10 2025 Remi Collet - 5.1.3-1 +- update to 5.1.3 (no change) + +* Tue Mar 18 2025 Remi Collet - 5.1.2-1 +- update to 5.1.2 +- enable test suite + * Wed Sep 18 2024 Remi Collet - 5.1.0-1 - update to 5.1.0 diff --git a/sources b/sources index 7334e2d..4bbdfac 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-sebastian-type5-5.1.0-461b9c5.tgz) = 96b6f90eacd88982fcdcf0cb465e1e6025ab013f9abcfb95bd593738c6f75bd4cd4c5c1e53ee7431f8d05fa6d12a57f1d5b651cafc17753cff68bfb36a5fc835 +SHA512 (php-sebastian-type5-5.1.3-f77d2d4.tgz) = b255ec908b26d8af9533d7a42ddec3d8273e69e1f9d8feefc21e32a34ae9b8a2c708c566bc86e78d6cb0f06a76b7f48edcee209fbcee92ed8b49f017ce655004