public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Emmanuel Seyman <emmanuel@seyman.fr>
To: git-commits@fedoraproject.org
Subject: [rpms/perl-Dancer2-Plugin-REST] rawhide: Disable the Dumper Serializer test
Date: Sun, 15 Nov 2026 07:19:48 GMT	[thread overview]
Message-ID: <179472718806.1.18120263703565879863.rpms-perl-Dancer2-Plugin-REST-79be56e0b0a4@fedoraproject.org> (raw)

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
 

                 reply	other threads:[~2026-11-15  7:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179472718806.1.18120263703565879863.rpms-perl-Dancer2-Plugin-REST-79be56e0b0a4@fedoraproject.org \
    --to=emmanuel@seyman.fr \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox