diff --git a/.gitignore b/.gitignore index 77f505d..4d15ed5 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,8 @@ clog /php-myclabs-deep-copy-1.11.0-14daed4.tgz /php-myclabs-deep-copy-1.11.1-7284c22.tgz /php-myclabs-deep-copy-1.12.0-3a6b9a4.tgz +/php-myclabs-deep-copy-1.12.1-123267b.tgz +/php-myclabs-deep-copy-1.13.0-024473a.tgz +/php-myclabs-deep-copy-1.13.1-1720ddd.tgz +/php-myclabs-deep-copy-1.13.3-faed855.tgz +/php-myclabs-deep-copy-1.13.4-07d290f.tgz diff --git a/php-myclabs-deep-copy.spec b/php-myclabs-deep-copy.spec index 9eef182..622ce09 100644 --- a/php-myclabs-deep-copy.spec +++ b/php-myclabs-deep-copy.spec @@ -1,19 +1,14 @@ # remirepo/fedora spec file for php-myclabs-deep-copy # -# Copyright (c) 2015-2024 Remi Collet -# License: CC-BY-SA-4.0 -# http://creativecommons.org/licenses/by-sa/4.0/ +# SPDX-FileCopyrightText: Copyright 2015-2025 Remi Collet +# SPDX-License-Identifier: CECILL-2.1 +# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt # # Please, preserve the changelog entries # -%if 0%{?fedora} >= 40 || 0%{?rhel} >= 10 -# Disabled as missing doctrine packages -%bcond_with tests -%else %bcond_without tests -%endif -%global gh_commit 3a6b9a42cd8f8771bd4295d13e1423fa7f3d942c +%global gh_commit 07d290f0c47959fd5eed98c95ee5602db07e0b6a %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner myclabs %global gh_project DeepCopy @@ -22,8 +17,8 @@ %global php_home %{_datadir}/php Name: php-myclabs-deep-copy%{major} -Version: 1.12.0 -Release: 2%{?dist} +Version: 1.13.4 +Release: 1%{?dist} Summary: Create deep copies (clones) of your objects @@ -44,8 +39,6 @@ BuildRequires: php-spl # "doctrine/common": "^2.13.3 || ^3.2.2", # "phpspec/prophecy": "^1.10", # "phpunit/phpunit": "^7.5.20 || ^8.5.23 || ^9.5.13" -BuildRequires: (php-composer(doctrine/collections) >= 1.6.8 with php-composer(doctrine/collections) < 2) -BuildRequires: (php-composer(doctrine/common) >= 3.2.2 with php-composer(doctrine/common) < 4) BuildRequires: (php-composer(phpspec/prophecy) >= 1.10 with php-composer(phpspec/prophecy) < 2) BuildRequires: phpunit9 >= 9.5.13 %endif @@ -96,17 +89,21 @@ require '%{buildroot}%{php_home}/%{gh_project}%{major}/autoload.php'; \Fedora\Autoloader\Autoload::addPsr4('DeepCopy\\', dirname(__DIR__).'/fixtures/'); \Fedora\Autoloader\Autoload::addPsr4('DeepCopyTest\\', dirname(__DIR__).'/tests/DeepCopyTest/'); \Fedora\Autoloader\Dependencies::required([ - '%{php_home}/Doctrine/Common/Collections/autoload.php', - '%{php_home}/Doctrine/Common3/autoload.php', '%{php_home}/Prophecy/autoload.php', ]); EOF +# disable doctrine related tests +rm -r tests/DeepCopyTest/Matcher/Doctrine \ + tests/DeepCopyTest/Filter/Doctrine + ret=0 -for cmd in php php81 php82 php83; do +for cmd in php php81 php82 php83 php84 php85; do if which $cmd; then $cmd -d auto_prepend_file=vendor/autoload.php \ - %{_bindir}/phpunit9 --verbose || ret=1 + %{_bindir}/phpunit9 \ + --filter '^((?!(test_it_can_apply_two_filters_with_chainable_filter|test_it_can_copy_property_after_applying_doctrine_proxy_filter_with_chainable_filter)).)*$' \ + --verbose || ret=1 fi done exit $ret @@ -123,6 +120,31 @@ exit $ret %changelog +* Fri Aug 1 2025 Remi Collet - 1.13.4-1 +- update to 1.13.4 + +* Fri Jul 25 2025 Fedora Release Engineering - 1.13.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + +* Mon Jul 7 2025 Remi Collet - 1.13.3-1 +- update to 1.13.3 + +* Sun May 4 2025 Remi Collet - 1.13.1-1 +- update to 1.13.1 + +* Wed Feb 12 2025 Remi Collet - 1.13.0-1 +- update to 1.13.0 +- re-license spec file to CECILL-2.1 + +* Sat Jan 18 2025 Fedora Release Engineering - 1.12.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + +* Tue Nov 12 2024 Remi Collet - 1.12.1-1 +- update to 1.12.1 + +* Fri Jul 19 2024 Fedora Release Engineering - 1.12.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Thu Jun 13 2024 Remi Collet - 1.12.0-2 - update to 1.12.0 - disable test suite diff --git a/sources b/sources index 36b5cab..e877c82 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-myclabs-deep-copy-1.12.0-3a6b9a4.tgz) = 1dfcf3191276d042af46cd9e95dc6d0293e7889be54cceb7757cdce6b4440e2f52d2277cc45ac8ad1ab3e4650c87e5c049cc138b942cb498b7b7359a3cd2f9a4 +SHA512 (php-myclabs-deep-copy-1.13.4-07d290f.tgz) = 55aa59cc771d149297fb70692554b5809bd3e8785e281549c3246f36b2b305eb474e2e43fc9dae88b066d5e58c98b55f3691659fa60a9f72f26e0071c9982a7c