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] f45: Update to 2.2.1
Date: Sun, 20 Sep 2026 17:25:01 GMT [thread overview]
Message-ID: <178992510177.1.12708721768238551724.rpms-perl-Dancer2-d2560f945a09@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/perl-Dancer2
Branch : f45
Commit : d2560f945a09f22547051d4bc282044fcd7f5c7a
Author : Emmanuel Seyman <emmanuel@seyman.fr>
Date : 2026-09-20T19:24:52+02:00
Stats : +32/-41 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/perl-Dancer2/c/d2560f945a09f22547051d4bc282044fcd7f5c7a?branch=f45
Log:
Update to 2.2.1
---
diff --git a/.gitignore b/.gitignore
index f361cef..8d02214 100644
--- a/.gitignore
+++ b/.gitignore
@@ -39,3 +39,4 @@
/Dancer2-2.0.0.tar.gz
/Dancer2-2.0.1.tar.gz
/Dancer2-2.1.0.tar.gz
+/Dancer2-2.2.1.tar.gz
diff --git a/no-phone-home.patch b/no-phone-home.patch
index fdbad90..55c59a6 100644
--- a/no-phone-home.patch
+++ b/no-phone-home.patch
@@ -1,29 +1,15 @@
-Description: Remove version check when generating an application tree
- This is a privacy breach and serves no real purpose for the package in
- Debian/stable
-
---- a/lib/Dancer2/CLI/Gen.pm
-+++ b/lib/Dancer2/CLI/Gen.pm
-@@ -58,14 +58,6 @@ option overwrite => (
- default => 0,
- );
-
--option no_check => (
-- is => 'ro',
-- short => 'x',
+diff -up ./lib/Dancer2/CLI/Gen.pm.orig ./lib/Dancer2/CLI/Gen.pm
+--- ./lib/Dancer2/CLI/Gen.pm.orig 2026-09-20 18:51:48.097154837 +0200
++++ ./lib/Dancer2/CLI/Gen.pm 2026-09-20 18:52:32.770508568 +0200
+@@ -60,9 +60,9 @@ option overwrite => (
+ option no_check => (
+ is => 'ro',
+ short => 'x',
- doc => "don't check latest Dancer2 version (default: check - requires internet)",
-- required => 0,
++ doc => "don't check latest Dancer2 version (default: no check - requires internet)",
+ required => 0,
- default => 0,
--);
--
- option skel => (
- is => 'ro',
- short => 's',
-@@ -154,7 +146,6 @@ dots, hyphens or start with a number.
-
- sub run {
- my $self = shift;
-- $self->_version_check unless $self->no_check;
++ default => 1,
+ );
- my $app_name = $self->application;
- my $app_file = $self->parent_command->_get_app_file( $app_name );
+ option skel => (
diff --git a/perl-Dancer2.spec b/perl-Dancer2.spec
index 53dc6ef..d8f380e 100644
--- a/perl-Dancer2.spec
+++ b/perl-Dancer2.spec
@@ -1,6 +1,6 @@
Name: perl-Dancer2
-Version: 2.1.0
-Release: 3%{?dist}
+Version: 2.2.1
+Release: 1%{?dist}
Summary: Lightweight yet powerful web application framework
License: GPL-1.0-or-later OR Artistic-1.0-Perl
@@ -24,9 +24,10 @@ BuildRequires: perl(warnings)
# Run-time:
BuildRequires: perl(Attribute::Handlers)
BuildRequires: perl(Carp)
-BuildRequires: perl(CLI::Osprey)
+BuildRequires: perl(CLI::Osprey) >= 0.09
BuildRequires: perl(Config::Any)
BuildRequires: perl(Cwd)
+BuildRequires: perl(Crypt::URandom) >= 0.36
BuildRequires: perl(Data::Censor) >= 0.04
BuildRequires: perl(Data::Dumper)
BuildRequires: perl(Digest::SHA)
@@ -53,17 +54,17 @@ BuildRequires: perl(HTTP::Tiny)
BuildRequires: perl(Import::Into)
BuildRequires: perl(IO::File)
BuildRequires: perl(JSON::MaybeXS)
-BuildRequires: perl(List::Util)
-BuildRequires: perl(MIME::Base64)
+BuildRequires: perl(List::Util) >= 1.29
+BuildRequires: perl(MIME::Base64) >= 3.13
+BuildRequires: perl(Math::Random::ISAAC::XS)
BuildRequires: perl(Module::Runtime)
-BuildRequires: perl(Moo) >= 1.003000
+BuildRequires: perl(Moo) >= 2.000000
BuildRequires: perl(Moo::Role)
BuildRequires: perl(MooX::Types::MooseLike) >= 0.16
BuildRequires: perl(MooX::Types::MooseLike::Base)
BuildRequires: perl(overload)
BuildRequires: perl(parent)
-# Plack::Builder version from Plack >= 1.0035 in Makefile.PL
-BuildRequires: perl(Plack::Builder) >= 1.0035
+BuildRequires: perl(Plack::Builder) >= 1.0040
BuildRequires: perl(Plack::Middleware::FixMissingBodyInRedirect)
BuildRequires: perl(Plack::Middleware::Head)
BuildRequires: perl(Plack::Middleware::RemoveRedundantBody)
@@ -75,6 +76,7 @@ BuildRequires: perl(Pod::Simple::Search)
BuildRequires: perl(Pod::Simple::SimpleTree)
BuildRequires: perl(POSIX)
BuildRequires: perl(Ref::Util)
+BuildRequires: perl(Role::Tiny) >= 2.000000
BuildRequires: perl(Safe)
BuildRequires: perl(Safe::Isa)
BuildRequires: perl(Scalar::Util)
@@ -86,15 +88,14 @@ BuildRequires: perl(Test::EOL)
BuildRequires: perl(Test::More) >= 0.92
BuildRequires: perl(Type::Library)
BuildRequires: perl(Type::Registry)
+BuildRequires: perl(Type::Tiny) >= 1.000006
BuildRequires: perl(Types::Standard)
BuildRequires: perl(URI)
BuildRequires: perl(URI::Escape)
-BuildRequires: perl(YAML) >= 0.86
+BuildRequires: perl(YAML) >= 1.30
# Optional run-time:
BuildRequires: perl(AnyEvent)
BuildRequires: perl(CGI::Deurl::XS)
-BuildRequires: perl(Crypt::URandom)
-BuildRequires: perl(Math::Random::ISAAC::XS)
BuildRequires: perl(MIME::Types)
BuildRequires: perl(URL::Encode::XS)
# Tests:
@@ -160,10 +161,9 @@ Perl. It is a complete rewrite based on Moo and is meant to be easy and fun.
%prep
%setup -q -n Dancer2-%{version}
-%patch 0 -p1
+%patch -P 0 -p1
/usr/bin/sed -i -e '1s,#!.*perl,#!/usr/bin/perl,' script/dancer2 share/skel/default/bin/+app.psgi share/skel/tutorial/bin/+app.psgi
/usr/bin/chmod +x share/skel/default/bin/+app.psgi share/skel/tutorial/bin/+app.psgi
-/usr/bin/rm share/.gitignore
%build
/usr/bin/perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
@@ -174,7 +174,7 @@ Perl. It is a complete rewrite based on Moo and is meant to be easy and fun.
%{_fixperms} $RPM_BUILD_ROOT/*
%check
-%{make_build} test
+make test
%files
%license LICENSE
@@ -195,6 +195,10 @@ provides nice, easily-extendable CLI interface for it.
%{_bindir}/*
%changelog
+* Sun Sep 20 2026 Emmanuel Seyman <emmanuel@seyman.fr> - 2.2.1-1
+- Update to 2.2.1
+- Downsize version check to make no check the default
+
* Sun Sep 06 2026 Emmanuel Seyman <emmanuel@seyman.fr> - 2.1.0-3
- Add CSPRNG modules as Requires, fixes CVE-2026-13577 (#2509105)
diff --git a/sources b/sources
index 8a144ea..b1faf2e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (Dancer2-2.1.0.tar.gz) = 90d393706dc6554960acb53eea4c6657dc7fd02bf39da1b0f8595f3151cd0195c5f3eafc7208e6791cfd4fb9df6afa33923539867e4a25ee02ecd1dcb60cc5f4
+SHA512 (Dancer2-2.2.1.tar.gz) = 587c63a804d4813bdd8e4fccb1199c81fcccf63bc7fa81f33301638ea67ba3335662018ba9c119b45f3823e7494322bc2f34e5942c0b4bdfe0bd4b70f278ecdc
reply other threads:[~2026-09-20 17:25 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=178992510177.1.12708721768238551724.rpms-perl-Dancer2-d2560f945a09@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