diff --git a/.gitignore b/.gitignore index e0f3cec..df07be1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /Module-Install-CheckLib-0.08.tar.gz /Module-Install-CheckLib-0.10.tar.gz /Module-Install-CheckLib-0.12.tar.gz +/Module-Install-CheckLib-0.14.tar.gz diff --git a/Module-Install-CheckLib-0.12-Allow-tests-to-run-from-a-read-only-location.patch b/Module-Install-CheckLib-0.12-Allow-tests-to-run-from-a-read-only-location.patch deleted file mode 100644 index 86743bb..0000000 --- a/Module-Install-CheckLib-0.12-Allow-tests-to-run-from-a-read-only-location.patch +++ /dev/null @@ -1,54 +0,0 @@ -From 606062e885f6ad39b50d300b1b0f4ddbbeebdbc0 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= -Date: Wed, 15 Dec 2021 15:41:08 +0100 -Subject: [PATCH] Allow tests to run from a read-only location -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -The tests creatd ./dist directory and later a temporary directetory -inside. This broken when running from a read-only location: - - t/02_assert.t ... Error in tempdir() using dist/XXXXXXXXXX: Parent directory (dist) does not exist at t/02_assert.t line 11. - # Looks like your test exited with 2 before it could output anything. - t/02_assert.t ... Dubious, test returned 2 (wstat 512, 0x200) - -This patch fixes it. It also fixes the strayed ./dist directory. - -Signed-off-by: Petr Písař ---- - t/01_dist.t | 3 +-- - t/02_assert.t | 3 +-- - 2 files changed, 2 insertions(+), 4 deletions(-) - -diff --git a/t/01_dist.t b/t/01_dist.t -index f22a91b..3968140 100644 ---- a/t/01_dist.t -+++ b/t/01_dist.t -@@ -6,8 +6,7 @@ use File::Path qw[rmtree]; - use Capture::Tiny qw[capture_merged]; - - { --mkdir 'dist'; --my $tmpdir = tempdir( DIR => 'dist', CLEANUP => 1 ); -+my $tmpdir = tempdir( CLEANUP => 1 ); - chdir $tmpdir or die "$!\n"; - open MFPL, '>Makefile.PL' or die "$!\n"; - print MFPL <<'EOF'; -diff --git a/t/02_assert.t b/t/02_assert.t -index a7fa98d..a652c70 100644 ---- a/t/02_assert.t -+++ b/t/02_assert.t -@@ -6,8 +6,7 @@ use File::Path qw[rmtree]; - use Capture::Tiny qw[capture_merged]; - - { --mkdir 'dist'; --my $tmpdir = tempdir( DIR => 'dist', CLEANUP => 1 ); -+my $tmpdir = tempdir( CLEANUP => 1 ); - chdir $tmpdir or die "$!\n"; - open MFPL, '>Makefile.PL' or die "$!\n"; - print MFPL <<'EOF'; --- -2.31.1 - diff --git a/perl-Module-Install-CheckLib.spec b/perl-Module-Install-CheckLib.spec index 3407e85..e9502ec 100644 --- a/perl-Module-Install-CheckLib.spec +++ b/perl-Module-Install-CheckLib.spec @@ -2,14 +2,12 @@ %bcond_without perl_Module_Install_CheckLib_enable_optional_test Name: perl-Module-Install-CheckLib -Version: 0.12 -Release: 16%{?dist} +Version: 0.14 +Release: 1%{?dist} Summary: Module::Install extension to check that a library is available License: GPL+ or Artistic URL: https://metacpan.org/release/Module-Install-CheckLib Source0: https://cpan.metacpan.org/authors/id/B/BI/BINGOS/Module-Install-CheckLib-%{version}.tar.gz -# Fix tests to work from a read-only location, CPAN RT#140485 -Patch0: Module-Install-CheckLib-0.12-Allow-tests-to-run-from-a-read-only-location.patch BuildArch: noarch BuildRequires: coreutils # glibc-common for iconv @@ -122,6 +120,9 @@ make test %{_libexecdir}/%{name} %changelog +* Thu Dec 16 2021 Petr Pisar - 0.14-1 +- 0.14 bump + * Wed Dec 15 2021 Petr Pisar - 0.12-16 - Modernize a spec file - Package tests diff --git a/sources b/sources index bd959c2..0848827 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Module-Install-CheckLib-0.12.tar.gz) = c462ed40d202ca21c8b13cb21867fb9e508548b9fbb92e3a3bf356e9788f349a9b126c9ead4aa3acbaddbabd96d575aeebc2137403c8b4766f759d7ea103f5e5 +SHA512 (Module-Install-CheckLib-0.14.tar.gz) = 470eecf54113e8d6bdd8e0574806239f97028f76c4bb4942422ded0d373863838e56433130259d5dfce213cdddfeff8ef594cb9e6db1b85afaa01d7d1db15ade