public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-Dist-Zilla] rawhide: Fix metaresources test
@ 2026-09-15 16:12
0 siblings, 0 replies; only message in thread
From: @ 2026-09-15 16:12 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-15 16:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-15 16:12 [rpms/perl-Dist-Zilla] rawhide: Fix metaresources test
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox