public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/perl-Dist-Zilla] rawhide: Fix metaresources test
Date: Tue, 15 Sep 2026 16:12:27 GMT	[thread overview]
Message-ID: <178948874724.1.16103692576968976353.rpms-perl-Dist-Zilla-259f87ae28b5@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/perl-Dist-Zilla
Branch : rawhide
Commit : 259f87ae28b5f3bf3ebb78d50a4201cf5b69acf8
Author : Michal Josef Špaček <mspacek@redhat.com>
Date   : 2026-09-15T16:45:41+02:00
Stats  : +41/-2 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/perl-Dist-Zilla/c/259f87ae28b5f3bf3ebb78d50a4201cf5b69acf8?branch=rawhide

Log:
Fix metaresources test

---
diff --git a/Dist-Zilla-6.039-tmp_dir.patch b/Dist-Zilla-6.039-tmp_dir.patch
index 3047752..597498c 100644
--- a/Dist-Zilla-6.039-tmp_dir.patch
+++ b/Dist-Zilla-6.039-tmp_dir.patch
@@ -1,6 +1,6 @@
 diff -u -r Dist-Zilla-6.039.orig/t/plugins/fakerelease.t Dist-Zilla-6.039/t/plugins/fakerelease.t
 --- Dist-Zilla-6.039.orig/t/plugins/fakerelease.t	2026-09-15 14:27:33.779749994 +0200
-+++ Dist-Zilla-6.039/t/plugins/fakerelease.t	2026-09-15 14:38:36.081005104 +0200
++++ Dist-Zilla-6.039/t/plugins/fakerelease.t	2026-09-15 16:43:43.646804080 +0200
 @@ -2,9 +2,12 @@
  use warnings;
  use Test::More 0.88;
@@ -38,3 +38,39 @@ diff -u -r Dist-Zilla-6.039.orig/t/plugins/fakerelease.t Dist-Zilla-6.039/t/plug
      );
  
      local $ENV{DZIL_FAKERELEASE_FAIL} = 1;
+diff -u -r Dist-Zilla-6.039.orig/t/plugins/metaresources.t Dist-Zilla-6.039/t/plugins/metaresources.t
+--- Dist-Zilla-6.039.orig/t/plugins/metaresources.t	2026-09-15 14:27:33.780693120 +0200
++++ Dist-Zilla-6.039/t/plugins/metaresources.t	2026-09-15 16:44:17.160689952 +0200
+@@ -2,6 +2,7 @@
+ use warnings;
+ use Test::More 0.88;
+ 
++use File::Temp qw(tempdir);
+ use Test::DZil;
+ use Test::Deep;
+ use CPAN::Meta::Converter;
+@@ -18,6 +19,8 @@
+ my $json_backend = JSON::MaybeXS::JSON();
+ my $serialization_json = $json_backend . ' version ' . $json_backend->VERSION;
+ 
++my $temp_dir = tempdir('CLEANUP' => 1);
++
+ {
+   my $tzil = Builder->from_config(
+     { dist_root => 'corpus/dist/DZT' },
+@@ -35,6 +38,7 @@
+           ['MetaJSON'],
+         ),
+       },
++      tempdir_root => $temp_dir,
+     },
+   );
+ 
+@@ -118,6 +122,7 @@
+           ['MetaJSON'],
+         ),
+       },
++      tempdir_root => $temp_dir,
+     },
+   );
+ 

diff --git a/perl-Dist-Zilla.spec b/perl-Dist-Zilla.spec
index 8565b12..9341b80 100644
--- a/perl-Dist-Zilla.spec
+++ b/perl-Dist-Zilla.spec
@@ -1,6 +1,6 @@
 Name:           perl-Dist-Zilla
 Version:        6.039
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Distribution builder; installer not included!
 License:        GPL-1.0-or-later OR Artistic-1.0-Perl
 URL:            https://metacpan.org/release/Dist-Zilla
@@ -209,6 +209,9 @@ make test
 %{_libexecdir}/%{name}
 
 %changelog
+* Tue Sep 15 2026 Michal Josef Špaček <mspacek@redhat.com> - 6.039-2
+- Fix metaresources test
+
 * Tue Sep 15 2026 Michal Josef Špaček <mspacek@redhat.com> - 6.039-1
 - 6.039 bump
 - Fix bash completition

                 reply	other threads:[~2026-09-15 16:12 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=178948874724.1.16103692576968976353.rpms-perl-Dist-Zilla-259f87ae28b5@fedoraproject.org \
    --to=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