From 947048bf938a03e979b414a0dd1d827797d8cd52 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 8 Dec 2022 10:52:48 +0100 Subject: update to 3.0.2 (no change) --- composer.json | 8 +++++++- php-zumba-json-serializer.spec | 13 ++++++++----- 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/composer.json b/composer.json index f9b6422..84fb59e 100644 --- a/composer.json +++ b/composer.json @@ -19,7 +19,7 @@ } ], "require": { - "php": ">=7.0.0", + "php": "^7.0 || ^8.0", "ext-mbstring": "*" }, "suggest": { @@ -33,5 +33,11 @@ "Zumba\\": "src/", "Zumba\\JsonSerializer\\Test\\": "tests/" } + }, + "archive": { + "exclude": [ + "/tests", + "/phpunit.xml" + ] } } diff --git a/php-zumba-json-serializer.spec b/php-zumba-json-serializer.spec index 7b84ece..c4d535b 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 Remi Collet +# Copyright (c) 2021-2022 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -9,7 +9,7 @@ %bcond_without tests -%global gh_commit d91d5a22bbbacbb1d6ad23302137a90e9a7dafd5 +%global gh_commit 421dcdd53d4b333303d984e9ebec557d3e37783b %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.1 +Version: 3.0.2 Release: 1%{?dist} Summary: Serialize PHP variables @@ -44,7 +44,7 @@ BuildRequires: phpunit9 BuildRequires: php-fedora-autoloader-devel # From composer.json, "require": { -# "php": ">=7.0.0", +# "php": "^7.0 || ^8.0", # "ext-mbstring": "*" Requires: php(language) >= 7.0 Requires: php-mbstring @@ -94,7 +94,7 @@ require '%{buildroot}%{_datadir}/php/%{ns_vendor}/%{ns_project}%{major}/autoload EOF ret=0 -for cmdarg in "php %{phpunit}" php74 php80 php81; do +for cmdarg in "php %{phpunit}" php80 php81 php82; do if which $cmdarg; then set $cmdarg $1 ${2:-%{_bindir}/phpunit9} \ @@ -120,5 +120,8 @@ exit $ret %changelog +* Thu Dec 8 2022 Remi Collet - 3.0.2-1 +- update to 3.0.2 (no change) + * Thu Dec 9 2021 Remi Collet - 3.0.1-1 - initial package -- cgit