From 78bc23ab7c5cd0d527eb760a87aec8eca8c97dc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Josef=20=C5=A0pa=C4=8Dek?= Date: Thu, 9 Mar 2023 13:16:28 +0100 Subject: [PATCH] 1.10 bump --- .gitignore | 1 + ...ot-require-release-test-dependencies.patch | 122 ------------------ perl-Test-Inter.spec | 11 +- sources | 2 +- 4 files changed, 7 insertions(+), 129 deletions(-) delete mode 100644 Test-Inter-1.09-Do-not-require-release-test-dependencies.patch diff --git a/.gitignore b/.gitignore index 16e9813..3f89e73 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /Test-Inter-1.07.tar.gz /Test-Inter-1.08.tar.gz /Test-Inter-1.09.tar.gz +/Test-Inter-1.10.tar.gz diff --git a/Test-Inter-1.09-Do-not-require-release-test-dependencies.patch b/Test-Inter-1.09-Do-not-require-release-test-dependencies.patch deleted file mode 100644 index 9b9a821..0000000 --- a/Test-Inter-1.09-Do-not-require-release-test-dependencies.patch +++ /dev/null @@ -1,122 +0,0 @@ -From 1fd047f3b697fd0fe0ed8ca1f3505e0634367ba5 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= -Date: Fri, 15 Mar 2019 08:38:58 +0100 -Subject: [PATCH] Do not require release test dependencies -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -By default release tests are skipped. However, the tests have some -uniq additional dependencies. Terminating the tests before loading the -dependencies enables us dropping a dependency on them. - -Signed-off-by: Petr Písař ---- - Makefile.PL | 3 --- - t/_pod.t | 13 ++++++++----- - t/_pod_coverage.t | 13 ++++++++----- - t/_version.t | 14 +++++++++----- - 4 files changed, 25 insertions(+), 18 deletions(-) - -diff --git a/Makefile.PL b/Makefile.PL -index 480c3ff..9f36856 100644 ---- a/Makefile.PL -+++ b/Makefile.PL -@@ -22,10 +22,7 @@ my %script_prereq = ( - ); - - my %test_prereq = ( -- 'File::Find::Rule' => '0', - 'Test::More' => '0', -- 'Test::Pod' => '1.00', -- 'Test::Pod::Coverage' => '1.00', - ); - - my %config_prereq = ( -diff --git a/t/_pod.t b/t/_pod.t -index 8d5e351..aea7d0c 100755 ---- a/t/_pod.t -+++ b/t/_pod.t -@@ -3,15 +3,18 @@ - use warnings 'all'; - use strict; - use Test::More; -+ -+BEGIN { -+ # Don't run tests for installs -+ unless ($ENV{RELEASE_TESTING}) { -+ plan skip_all => 'Author tests not required for installation (set RELEASE_TESTING to test)'; -+ } -+} -+ - use File::Basename; - use Cwd 'abs_path'; - use Test::Pod 1.00; - --# Don't run tests for installs --unless ($ENV{RELEASE_TESTING}) { -- plan skip_all => 'Author tests not required for installation (set RELEASE_TESTING to test)'; --} -- - # Figure out the directories. This comes from Test::Inter. - - my($moddir,$testdir,$libdir); -diff --git a/t/_pod_coverage.t b/t/_pod_coverage.t -index 9255d3b..88d27f9 100755 ---- a/t/_pod_coverage.t -+++ b/t/_pod_coverage.t -@@ -3,15 +3,18 @@ - use warnings 'all'; - use strict; - use Test::More; -+ -+BEGIN { -+ # Don't run tests for installs -+ unless ($ENV{RELEASE_TESTING}) { -+ plan skip_all => 'Author tests not required for installation (set RELEASE_TESTING to test)'; -+ } -+} -+ - use File::Basename; - use Cwd 'abs_path'; - use Test::Pod::Coverage 1.00; - --# Don't run tests for installs --unless ($ENV{RELEASE_TESTING}) { -- plan skip_all => 'Author tests not required for installation (set RELEASE_TESTING to test)'; --} -- - # Figure out the directories. This comes from Test::Inter. - - my($moddir,$testdir,$libdir); -diff --git a/t/_version.t b/t/_version.t -index fe31123..dc2cae3 100755 ---- a/t/_version.t -+++ b/t/_version.t -@@ -3,14 +3,18 @@ - use warnings 'all'; - use strict; - use Test::Inter; --use IO::File; --use File::Find::Rule; --my $ti = new Test::Inter $0; - --unless ($ENV{RELEASE_TESTING}) { -- $ti->skip_all('Author tests not required for installation (set RELEASE_TESTING to test)'); -+my $ti; -+BEGIN { -+ $ti = new Test::Inter $0; -+ unless ($ENV{RELEASE_TESTING}) { -+ $ti->skip_all('Author tests not required for installation (set RELEASE_TESTING to test)'); -+ } - } - -+use IO::File; -+use File::Find::Rule; -+ - # Figure out what module we are in. A module is in a directory: - # My-Mod-Name-1.00 - # It includes any number of .pm files, each of which contain a single --- -2.20.1 - diff --git a/perl-Test-Inter.spec b/perl-Test-Inter.spec index 0c0509b..1b9c129 100644 --- a/perl-Test-Inter.spec +++ b/perl-Test-Inter.spec @@ -1,13 +1,10 @@ Name: perl-Test-Inter -Version: 1.09 -Release: 14%{?dist} +Version: 1.10 +Release: 1%{?dist} Summary: Framework for more readable interactive test scripts License: GPL-1.0-or-later OR Artistic-1.0-Perl URL: https://metacpan.org/release/Test-Inter Source0: https://cpan.metacpan.org/authors/id/S/SB/SBECK/Test-Inter-%{version}.tar.gz -# Remove dependencies on release tests that are skipped, proposed to upstream, -# -Patch0: Test-Inter-1.09-Do-not-require-release-test-dependencies.patch BuildArch: noarch BuildRequires: coreutils BuildRequires: make @@ -47,7 +44,6 @@ with "%{_libexecdir}/%{name}/test". %prep %setup -q -n Test-Inter-%{version} -%patch0 -p1 chmod -x examples/* # Help generators to recognize Perl scripts for F in t/*.t; do @@ -89,6 +85,9 @@ make test %{_libexecdir}/%{name} %changelog +* Thu Mar 09 2023 Michal Josef Špaček - 1.10-1 +- 1.10 bump + * Fri Jan 20 2023 Fedora Release Engineering - 1.09-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild diff --git a/sources b/sources index 5e702e3..012e712 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Test-Inter-1.09.tar.gz) = b1f556393a445ae2c04fcc958fc3c9ee9091d17aaa9997dfde13098622162ebc27ac0282401abc27131a3b072be3aafeb5cc74af4b3e1ff4149f6c77536ef6c4 +SHA512 (Test-Inter-1.10.tar.gz) = 2e4cdd9009d58dd396dbfbc7b91d69d2193132445bb9e6a95c2e56b772981a39e9a9cae0d22f8b1b94571f2f739fb8f47b5410e422c02f008547fcacc7f83325