summaryrefslogtreecommitdiffstats
path: root/php-zumba-json-serializer.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-zumba-json-serializer.spec')
-rw-r--r--php-zumba-json-serializer.spec16
1 files changed, 10 insertions, 6 deletions
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 <remi@remirepo.net> - 3.1.0-1
+- update to 3.1.0
+
* Thu Dec 8 2022 Remi Collet <remi@remirepo.net> - 3.0.2-1
- update to 3.0.2 (no change)