Disable Test::Kwalitee::Extra subtests that need Internet
This commit is contained in:
parent
43fb6de416
commit
a799fc660b
@ -0,0 +1,29 @@
|
|||||||
|
From 28d50e7cbbe1953da4a26bb213805ab9e1762de9 Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
|
||||||
|
Date: Mon, 4 Jul 2016 15:43:30 +0200
|
||||||
|
Subject: [PATCH] Disable prereq_matches_use Test::Kwalitee::Extra subtest
|
||||||
|
MIME-Version: 1.0
|
||||||
|
Content-Type: text/plain; charset=UTF-8
|
||||||
|
Content-Transfer-Encoding: 8bit
|
||||||
|
|
||||||
|
The prereq_matches_use subtest requires network access to
|
||||||
|
<https://metacpan.org/>.
|
||||||
|
|
||||||
|
Signed-off-by: Petr Písař <ppisar@redhat.com>
|
||||||
|
---
|
||||||
|
t/release-kwalitee.t | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/t/release-kwalitee.t b/t/release-kwalitee.t
|
||||||
|
index 47b8d6e..06ea857 100644
|
||||||
|
--- a/t/release-kwalitee.t
|
||||||
|
+++ b/t/release-kwalitee.t
|
||||||
|
@@ -7,4 +7,4 @@ use Test::More; # needed to provide plan.
|
||||||
|
eval { require Test::Kwalitee::Extra };
|
||||||
|
plan skip_all => "Test::Kwalitee::Extra required for testing kwalitee: $@" if $@;
|
||||||
|
|
||||||
|
-eval "use Test::Kwalitee::Extra";
|
||||||
|
+eval "use Test::Kwalitee::Extra qw(!prereq_matches_use)";
|
||||||
|
--
|
||||||
|
2.5.5
|
||||||
|
|
@ -15,6 +15,8 @@ Group: Development/Libraries
|
|||||||
License: (GPL+ or Artistic) and MIT
|
License: (GPL+ or Artistic) and MIT
|
||||||
URL: http://search.cpan.org/dist/XML-LibXML/
|
URL: http://search.cpan.org/dist/XML-LibXML/
|
||||||
Source0: http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/XML-LibXML-%{version}.tar.gz
|
Source0: http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/XML-LibXML-%{version}.tar.gz
|
||||||
|
# Disable Test::Kwalitee::Extra subtests that need Internet, CPAN RT#115859
|
||||||
|
Patch0: XML-LibXML-2.0126-Disable-prereq_matches_use-Test-Kwalitee-Extra-subte.patch
|
||||||
BuildRequires: coreutils
|
BuildRequires: coreutils
|
||||||
BuildRequires: findutils
|
BuildRequires: findutils
|
||||||
BuildRequires: glibc-common
|
BuildRequires: glibc-common
|
||||||
@ -94,6 +96,7 @@ validating XML parser and the high performance DOM implementation.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n XML-LibXML-%{version}
|
%setup -q -n XML-LibXML-%{version}
|
||||||
|
%patch0 -p1
|
||||||
chmod -x *.c
|
chmod -x *.c
|
||||||
for i in Changes; do
|
for i in Changes; do
|
||||||
/usr/bin/iconv -f iso8859-1 -t utf-8 $i > $i.conv && /bin/mv -f $i.conv $i
|
/usr/bin/iconv -f iso8859-1 -t utf-8 $i > $i.conv && /bin/mv -f $i.conv $i
|
||||||
|
Loading…
Reference in New Issue
Block a user