Compare commits
No commits in common. "b479c10ae6291bd817d3b25171b09a0d3ccb322a" and "c8" have entirely different histories.
b479c10ae6
...
c8
10
.gitignore
vendored
10
.gitignore
vendored
@ -1,9 +1 @@
|
||||
/Test-Inter-1.01.tar.gz
|
||||
/Test-Inter-1.02.tar.gz
|
||||
/Test-Inter-1.03.tar.gz
|
||||
/Test-Inter-1.04.tar.gz
|
||||
/Test-Inter-1.05.tar.gz
|
||||
/Test-Inter-1.06.tar.gz
|
||||
/Test-Inter-1.07.tar.gz
|
||||
/Test-Inter-1.08.tar.gz
|
||||
/Test-Inter-1.09.tar.gz
|
||||
SOURCES/Test-Inter-1.07.tar.gz
|
||||
|
@ -1 +1 @@
|
||||
534095825d9b7925feb23480f958dbc14fb51305 Test-Inter-1.09.tar.gz
|
||||
3b536119c221994d6bc3174bc8218e99595440d5 SOURCES/Test-Inter-1.07.tar.gz
|
||||
|
@ -1,36 +1,29 @@
|
||||
Name: perl-Test-Inter
|
||||
Version: 1.09
|
||||
Release: 9%{?dist}
|
||||
Version: 1.07
|
||||
Release: 1%{?dist}
|
||||
Summary: Framework for more readable interactive test scripts
|
||||
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
|
||||
# Remove dependencies on release tests that are skipped, proposed to upstream,
|
||||
# <https://github.com/SBECK-github/Test-Inter/pull/3>
|
||||
Patch0: Test-Inter-1.09-Do-not-require-release-test-dependencies.patch
|
||||
URL: http://search.cpan.org/dist/Test-Inter/
|
||||
Source0: http://www.cpan.org/authors/id/S/SB/SBECK/Test-Inter-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: make
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl(:VERSION) >= 5.6
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(warnings)
|
||||
# Run-time:
|
||||
BuildRequires: perl(Cwd)
|
||||
BuildRequires: perl(File::Basename)
|
||||
BuildRequires: perl(IO::File)
|
||||
BuildRequires: perl(lib)
|
||||
# Tests only:
|
||||
BuildRequires: perl(Config)
|
||||
# File::Find::Rule not used
|
||||
BuildRequires: perl(Cwd)
|
||||
BuildRequires: perl(Storable) >= 1.01
|
||||
BuildRequires: perl(Test::More)
|
||||
# Test::Pod 1.00 not used
|
||||
# Test::Pod::Coverage 1.00 not used
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
Requires: perl(lib)
|
||||
|
||||
%description
|
||||
This is another framework for writing test scripts. It is loosely inspired
|
||||
@ -39,20 +32,18 @@ replacement.
|
||||
|
||||
%prep
|
||||
%setup -q -n Test-Inter-%{version}
|
||||
%patch0 -p1
|
||||
chmod -x examples/*
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
||||
%{make_build}
|
||||
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%{make_install}
|
||||
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
unset RELEASE_TESTING TI_END TI_MODE TI_NOCLEAN TI_QUIET TI_START TI_TESTNUM \
|
||||
TI_WIDTH
|
||||
unset RELEASE_TESTING
|
||||
make test
|
||||
|
||||
%files
|
||||
@ -62,46 +53,6 @@ make test
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.09-9
|
||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||
Related: rhbz#1991688
|
||||
|
||||
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.09-8
|
||||
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.09-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.09-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.09-5
|
||||
- Perl 5.32 rebuild
|
||||
|
||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.09-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.09-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.09-2
|
||||
- Perl 5.30 rebuild
|
||||
|
||||
* Fri Mar 15 2019 Petr Pisar <ppisar@redhat.com> - 1.09-1
|
||||
- 1.09 bump
|
||||
|
||||
* Wed Mar 13 2019 Petr Pisar <ppisar@redhat.com> - 1.08-1
|
||||
- 1.08 bump
|
||||
|
||||
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.07-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.07-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.07-2
|
||||
- Perl 5.28 rebuild
|
||||
|
||||
* Fri Mar 16 2018 Petr Pisar <ppisar@redhat.com> - 1.07-1
|
||||
- 1.07 bump
|
||||
|
@ -1,122 +0,0 @@
|
||||
From 1fd047f3b697fd0fe0ed8ca1f3505e0634367ba5 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
|
||||
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ř <ppisar@redhat.com>
|
||||
---
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user