[packages/perl-HTML-WikiConverter] - updated dependencies - disable network tests (which even require resources not available now)

qboosh qboosh at pld-linux.org
Tue Jun 9 17:45:36 CEST 2015


commit 104d76391e75c8c5e85f4b87ca7ba7ece6f7dc0d
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Jun 9 17:46:47 2015 +0200

    - updated dependencies
    - disable network tests (which even require resources not available now)

 perl-HTML-WikiConverter.spec | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)
---
diff --git a/perl-HTML-WikiConverter.spec b/perl-HTML-WikiConverter.spec
index 094d00b..b3da67b 100644
--- a/perl-HTML-WikiConverter.spec
+++ b/perl-HTML-WikiConverter.spec
@@ -18,6 +18,8 @@ URL:		http://search.cpan.org/dist/HTML-WikiConverter/
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	rpm-perlprov >= 4.1-13
 %if %{with tests}
+BuildRequires:	perl(Pod::Usage) >= 1.16
+BuildRequires:	perl-CGI-Application
 BuildRequires:	perl-CSS >= 1.07
 BuildRequires:	perl-Class-Data-Inheritable >= 0.02
 BuildRequires:	perl-Encode
@@ -27,8 +29,17 @@ BuildRequires:	perl-HTML-Tree >= 3.18
 BuildRequires:	perl-Params-Validate >= 0.77
 BuildRequires:	perl-Test-Pod
 BuildRequires:	perl-Test-Pod-Coverage
-BuildRequires:	perl-URI
+BuildRequires:	perl-Test-Simple
+BuildRequires:	perl-URI >= 1.35
 %endif
+Requires:	perl(Pod::Usage) >= 1.16
+Requires:	perl-CSS >= 1.07
+Requires:	perl-Class-Data-Inheritable >= 0.02
+Requires:	perl-HTML-Parser >= 1.27
+Requires:	perl-HTML-Tagset >= 3.04
+Requires:	perl-HTML-Tree >= 3.18
+Requires:	perl-Params-Validate >= 0.77
+Requires:	perl-URI >= 1.35
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -84,6 +95,9 @@ poszczególnych dialektów.
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
 
+# disable network tests
+%{__sed} -i -e '/^my \$have_lwp =/s/= .*/= 0;/' t/01-wikiconverter.t
+
 %build
 %{__perl} Makefile.PL \
 	INSTALLDIRS=vendor
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-HTML-WikiConverter.git/commitdiff/104d76391e75c8c5e85f4b87ca7ba7ece6f7dc0d



More information about the pld-cvs-commit mailing list