From 186a35bc6a6db785ec83cc73b7b83aa332eefae0 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 18 Mar 2025 15:45:18 +0100 Subject: [PATCH 1/2] v5.1.2 (cherry picked from commit e07a2e14ccb6883d2095961823e60b63088d3ef2) --- .gitignore | 1 + php-sebastian-type5.spec | 20 +++++++++++--------- sources | 2 +- 3 files changed, 13 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index 6172544..4123176 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /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 diff --git a/php-sebastian-type5.spec b/php-sebastian-type5.spec index ccd379f..a8ee483 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 a8a7e30534b0eb0c77cd9d07e82de1a114389f5e %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-03-18 # 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.2 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) @@ -116,6 +114,10 @@ exit $ret %changelog +* 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..363c8a7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-sebastian-type5-5.1.0-461b9c5.tgz) = 96b6f90eacd88982fcdcf0cb465e1e6025ab013f9abcfb95bd593738c6f75bd4cd4c5c1e53ee7431f8d05fa6d12a57f1d5b651cafc17753cff68bfb36a5fc835 +SHA512 (php-sebastian-type5-5.1.2-a8a7e30.tgz) = bc038114277ce4bb98a2d98caadff70283034382c00d2c24cfa72f4ea85f53b557daae0c3126a51116900f8e53fc0572699bff054e0c5b2528910e7856525c06 From 7370c6ce297128d88167d32fcf406b84dd9ebc89 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 28 Aug 2025 10:46:16 +0200 Subject: [PATCH 2/2] v5.1.3 (cherry picked from commit 1407ed7bfaa1405e9dc87217458573e42f513797) (cherry picked from commit df74375099b39b9bc6c8eb4ce23dc3db8303e251) --- .gitignore | 1 + php-sebastian-type5.spec | 11 +++++++---- sources | 2 +- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 4123176..d94e1f7 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /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 a8ee483..92cfddd 100644 --- a/php-sebastian-type5.spec +++ b/php-sebastian-type5.spec @@ -11,11 +11,11 @@ %bcond_without tests # github -%global gh_commit a8a7e30534b0eb0c77cd9d07e82de1a114389f5e +%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 2025-03-18 +%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.2 +Version: 5.1.3 Release: 1%{?dist} Summary: Collection of value objects that represent the types of the PHP type system, v%{major} @@ -93,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 @@ -114,6 +114,9 @@ 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 diff --git a/sources b/sources index 363c8a7..4bbdfac 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-sebastian-type5-5.1.2-a8a7e30.tgz) = bc038114277ce4bb98a2d98caadff70283034382c00d2c24cfa72f4ea85f53b557daae0c3126a51116900f8e53fc0572699bff054e0c5b2528910e7856525c06 +SHA512 (php-sebastian-type5-5.1.3-f77d2d4.tgz) = b255ec908b26d8af9533d7a42ddec3d8273e69e1f9d8feefc21e32a34ae9b8a2c708c566bc86e78d6cb0f06a76b7f48edcee209fbcee92ed8b49f017ce655004