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 9b9a8212882da55f694198fb0084e0c1d2219177..0000000000000000000000000000000000000000 --- 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 2a77c83f2e980b361f7814513ebca5fe4a59bdfd..60ccc6574c58ac9a0e2fcd4ea6bdd3c952e0feaf 100644 --- a/perl-Test-Inter.spec +++ b/perl-Test-Inter.spec @@ -1,12 +1,11 @@ Summary: Framework for more readable interactive test scripts Name: perl-Test-Inter -Version: 1.09 -Release: 5%{?dist} +Version: 1.10 +Release: 1%{?dist} License: GPL+ or Artistic URL: https://metacpan.org/release/Test-Inter Source0: https://cpan.metacpan.org/authors/id/S/SB/SBECK/Test-Inter-%{version}.tar.gz # https://github.com/SBECK-github/Test-Inter/pull/3 -Patch0000: Test-Inter-1.09-Do-not-require-release-test-dependencies.patch BuildArch: noarch BuildRequires: make coreutils @@ -56,6 +55,9 @@ make test %changelog +* Tue Nov 28 2023 Upgrade Robot - 1.10-1 +- Upgrade to version 1.10 + * Fri Sep 08 2023 OpenCloudOS Release Engineering - 1.09-5 - Rebuilt for OpenCloudOS Stream 23.09 diff --git a/sources b/sources index 5e702e362cb1a842d2a3a1ec2b5e0d50484c40df..012e71200306451060e9b435a619cc52aa289088 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Test-Inter-1.09.tar.gz) = b1f556393a445ae2c04fcc958fc3c9ee9091d17aaa9997dfde13098622162ebc27ac0282401abc27131a3b072be3aafeb5cc74af4b3e1ff4149f6c77536ef6c4 +SHA512 (Test-Inter-1.10.tar.gz) = 2e4cdd9009d58dd396dbfbc7b91d69d2193132445bb9e6a95c2e56b772981a39e9a9cae0d22f8b1b94571f2f739fb8f47b5410e422c02f008547fcacc7f83325