public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-Dancer2-Plugin-REST] rawhide: Disable the Dumper Serializer test
@ 2026-11-15 7:19 Emmanuel Seyman
0 siblings, 0 replies; only message in thread
From: Emmanuel Seyman @ 2026-11-15 7:19 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/perl-Dancer2-Plugin-REST
Branch : rawhide
Commit : 79be56e0b0a4d0ea8f8691546ef78ea59da56227
Author : Emmanuel Seyman <emmanuel@seyman.fr>
Date : 2026-11-15T08:19:40+01:00
Stats : +38/-2 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/perl-Dancer2-Plugin-REST/c/79be56e0b0a4d0ea8f8691546ef78ea59da56227?branch=rawhide
Log:
Disable the Dumper Serializer test
---
diff --git a/Dancer2-Plugin-REST-1.03-disable-dumper-serializer.patch b/Dancer2-Plugin-REST-1.03-disable-dumper-serializer.patch
new file mode 100644
index 0000000..9ed9737
--- /dev/null
+++ b/Dancer2-Plugin-REST-1.03-disable-dumper-serializer.patch
@@ -0,0 +1,31 @@
+diff -up ./t/02_prepare_serializer_for_format.t.orig ./t/02_prepare_serializer_for_format.t
+--- ./t/02_prepare_serializer_for_format.t.orig 2026-11-15 07:54:41.750403721 +0100
++++ ./t/02_prepare_serializer_for_format.t 2026-11-15 07:55:15.461662952 +0100
+@@ -4,7 +4,6 @@ use warnings;
+ use Test2::Bundle::More;
+
+ use Module::Runtime qw(use_module);
+-use Data::Dumper;
+ use HTTP::Request::Common;
+ use Plack::Test;
+
+@@ -13,7 +12,6 @@ use Test::Requires qw/ JSON YAML /;
+ my $data = { foo => 42 };
+ my $json = JSON::encode_json($data);
+ my $yaml = YAML::Dump($data);
+-my $dump = Data::Dumper::Dumper($data);
+
+ {
+ package Webservice;
+@@ -44,11 +42,6 @@ my @tests = (
+ response => $json
+ },
+ {
+- path => '/foo.dump',
+- content_type => qr'text/x-data-dumper',
+- response => $dump
+- },
+- {
+ path => '/foo.yml',
+ content_type => qr'text/x-yaml',
+ response => $yaml,
diff --git a/perl-Dancer2-Plugin-REST.spec b/perl-Dancer2-Plugin-REST.spec
index e3ed536..7a40853 100644
--- a/perl-Dancer2-Plugin-REST.spec
+++ b/perl-Dancer2-Plugin-REST.spec
@@ -1,11 +1,13 @@
Name: perl-Dancer2-Plugin-REST
Version: 1.03
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Plugin for writing RESTful apps with Dancer2
License: GPL-1.0-or-later OR Artistic-1.0-Perl
URL: https://metacpan.org/release/Dancer2-Plugin-REST
Source0: https://cpan.metacpan.org/authors/id/Y/YA/YANICK/Dancer2-Plugin-REST-%{version}.tar.gz
+# Disable the Dumper Serializer test since it is no longer part of Dancer2 core
+Patch0: Dancer2-Plugin-REST-1.03-disable-dumper-serializer.patch
BuildArch: noarch
BuildRequires: make
@@ -25,7 +27,6 @@ BuildRequires: perl(Moo)
# test requirements
BuildRequires: perl(Dancer2) >= 0.202000
BuildRequires: perl(Dancer2::Core::Request)
-BuildRequires: perl(Data::Dumper)
BuildRequires: perl(File::Spec)
BuildRequires: perl(HTTP::Request::Common)
BuildRequires: perl(IO::Handle)
@@ -46,6 +47,7 @@ This plugin helps you write a RESTful web-service with Dancer2.
%prep
%setup -q -n Dancer2-Plugin-REST-%{version}
+%patch -P 0 -p 1
%build
/usr/bin/perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
@@ -65,6 +67,9 @@ This plugin helps you write a RESTful web-service with Dancer2.
%{_mandir}/man3/Dancer2*
%changelog
+* Sun Nov 15 2026 Emmanuel Seyman <emmanuel@seyman.fr> - 1.03-3
+- Disable the Dumper Serializer test (#2540984)
+
* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.03-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-15 7:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-15 7:19 [rpms/perl-Dancer2-Plugin-REST] rawhide: Disable the Dumper Serializer test Emmanuel Seyman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox