diff --git a/.gitignore b/.gitignore index 96ac65e..d94e1f7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +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 0ef19fb..00a4026 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 fb6a6566f9589e86661291d13eba708cce5eb4aa +%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-07-03 +%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.0.1 +Version: 5.1.3 Release: 1%{?dist} Summary: Collection of value objects that represent the types of the PHP type system, v%{major} @@ -38,20 +38,18 @@ 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} # from composer.json, "require-dev": { -# "phpunit/phpunit": "^11.0" -BuildRequires: phpunit11 +# "phpunit/phpunit": "^11.3" +BuildRequires: phpunit11 >= 11.3 %endif # from composer.json, "require": { # "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,10 +93,10 @@ 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 || ret=1 + %{_bindir}/phpunit11 --bootstrap vendor/autoload.php --no-coverage || ret=1 fi done exit $ret @@ -116,6 +114,27 @@ exit $ret %changelog +* Sun Aug 10 2025 Remi Collet - 5.1.3-1 +- update to 5.1.3 (no change) + +* Fri Jul 25 2025 Fedora Release Engineering - 5.1.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + +* Tue Mar 18 2025 Remi Collet - 5.1.2-1 +- update to 5.1.2 + +* Tue Feb 4 2025 Remi Collet - 5.1.0-3 +- enable test suite + +* Sat Jan 18 2025 Fedora Release Engineering - 5.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + +* Wed Sep 18 2024 Remi Collet - 5.1.0-1 +- update to 5.1.0 + +* Fri Jul 19 2024 Fedora Release Engineering - 5.0.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Wed Jul 3 2024 Remi Collet - 5.0.1-1 - update to 5.0.1 diff --git a/sources b/sources index 1d0c627..4bbdfac 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-sebastian-type5-5.0.1-fb6a656.tgz) = c88a181c1a07e641c5b1743b0c5806f810b4890ef4b427a4930951ba88c21685ec3f2040988f9395521a825fe2524756734aa4ae2bc4719826cf8732c2e7e2a7 +SHA512 (php-sebastian-type5-5.1.3-f77d2d4.tgz) = b255ec908b26d8af9533d7a42ddec3d8273e69e1f9d8feefc21e32a34ae9b8a2c708c566bc86e78d6cb0f06a76b7f48edcee209fbcee92ed8b49f017ce655004