From ad345036f0e613156427357a5916f8dea851a99e Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 18 Jul 2023 07:57:53 +0200 Subject: update to 3.1.0 --- composer.json | 2 +- php-zumba-json-serializer.spec | 16 ++++++++++------ 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/composer.json b/composer.json index 84fb59e..63c7d4a 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ "ext-mbstring": "*" }, "suggest": { - "jeremeamia/superclosure": "Allow to serialize PHP closures" + "opis/closure": "Allow to serialize PHP closures" }, "require-dev": { "phpunit/phpunit": ">=6.0 <10.0" diff --git a/php-zumba-json-serializer.spec b/php-zumba-json-serializer.spec index c4d535b..683d70f 100644 --- a/php-zumba-json-serializer.spec +++ b/php-zumba-json-serializer.spec @@ -1,6 +1,6 @@ # remirepo/fedora spec file for php-zumba-json-serializer # -# Copyright (c) 2021-2022 Remi Collet +# Copyright (c) 2021-2023 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -9,7 +9,7 @@ %bcond_without tests -%global gh_commit 421dcdd53d4b333303d984e9ebec557d3e37783b +%global gh_commit 3d9f1b7ac4ce46107db500f3cc1384217ddf1649 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner zumba %global gh_project json-serializer @@ -18,7 +18,7 @@ %global major %nil Name: php-%{gh_owner}-%{gh_project}%{major} -Version: 3.0.2 +Version: 3.1.0 Release: 1%{?dist} Summary: Serialize PHP variables @@ -94,13 +94,14 @@ require '%{buildroot}%{_datadir}/php/%{ns_vendor}/%{ns_project}%{major}/autoload EOF ret=0 -for cmdarg in "php %{phpunit}" php80 php81 php82; do +# ignore testS relying on SuperClosure (deprecated and removed from repo) +for cmdarg in "php %{phpunit}" php80 php81 php82 php83; do if which $cmdarg; then set $cmdarg $1 ${2:-%{_bindir}/phpunit9} \ --bootstrap vendor/autoload.php \ - --no-coverage \ - --verbose || ret=1 + --filter '^((?!(testAddSerializer|testGetPreferredSerializer|testSerialize|testUnserialize)).)*$' \ + --no-coverage || ret=1 fi done exit $ret @@ -120,6 +121,9 @@ exit $ret %changelog +* Tue Jul 18 2023 Remi Collet - 3.1.0-1 +- update to 3.1.0 + * Thu Dec 8 2022 Remi Collet - 3.0.2-1 - update to 3.0.2 (no change) -- cgit