From f3a6fbab23729bed403e16b8689e52c44ccc43b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com> Date: Tue, 7 Jul 2015 11:26:12 +0200 Subject: Specify all dependencies
The t/pod-coverage.t failed only because of missing all dependenicies. This is the only test which exhibits lib/HTML/WikiConverter/WebApp.pm. CPAN RT#87296 diff --git a/perl-HTML-WikiConverter.spec b/perl-HTML-WikiConverter.spec index 920cda4..5f31b0a 100644 --- a/perl-HTML-WikiConverter.spec +++ b/perl-HTML-WikiConverter.spec @@ -1,6 +1,6 @@ Name: perl-HTML-WikiConverter Version: 0.68 -Release: 17%{?dist} +Release: 18%{?dist} Summary: Perl module to convert HTML to wiki markup License: GPL+ or Artistic Group: Development/Libraries @@ -8,19 +8,52 @@ URL: http://search.cpan.org/dist/HTML-WikiConverter/ Source0: http://www.cpan.org/authors/id/D/DI/DIBERRI/HTML-WikiConverter-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch -BuildRequires: perl(Class::Data::Inheritable) >= 0.02 -BuildRequires: perl(CSS) >= 1.07 +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: make +BuildRequires: perl BuildRequires: perl(ExtUtils::MakeMaker) -BuildRequires: perl(HTML::Element) +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Run-time: +BuildRequires: perl(base) +BuildRequires: perl(Carp) +# CGI::Application used by Test::Pod::Coverage test +BuildRequires: perl(CGI::Application) +BuildRequires: perl(CSS) >= 1.07 +BuildRequires: perl(DirHandle) +BuildRequires: perl(Encode) +BuildRequires: perl(File::Spec) +# Getopt::Long not used at tests +# HTML::Element 3.18 version from HTML::Tree in META.yml +BuildRequires: perl(HTML::Element) >= 3.18 BuildRequires: perl(HTML::Entities) >= 1.27 BuildRequires: perl(HTML::Tagset) >= 3.04 -BuildRequires: perl(HTML::Tree) >= 3.18 +BuildRequires: perl(HTML::TreeBuilder) BuildRequires: perl(Params::Validate) >= 0.77 -BuildRequires: perl(Test::More) -BuildRequires: perl(Test::Pod) +# Pod::Usage 1.16 not used at tests +# Tie::IxHash used by Test::Pod::Coverage test +BuildRequires: perl(Tie::IxHash) BuildRequires: perl(URI) >= 1.35 BuildRequires: perl(URI::Escape) +# XML::Writer used by Test::Pod::Coverage test +BuildRequires: perl(XML::Writer) +# Tests: +BuildRequires: perl(Test::More) +# Optional tests: +BuildRequires: perl(Test::Pod) >= 1.14 +BuildRequires: perl(Test::Pod::Coverage) >= 1.04 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(CSS) >= 1.07 +# HTML::Element 3.18 version from HTML::Tree in META.yml +Requires: perl(HTML::Element) >= 3.18 +Requires: perl(HTML::Entities) >= 1.27 +Requires: perl(HTML::Tagset) >= 3.04 +Requires: perl(Params::Validate) >= 0.77 +Requires: perl(URI) >= 1.35 + +# Filter under-specified dependencies +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((CSS|HTML::Element|HTML::Entities|HTML::Tagset|Params::Validate|URI)\\)$ %description HTML::WikiConverter is an HTML to wiki converter. It can convert HTML source @@ -33,6 +66,11 @@ application itself. Summary: Convert HTML to wiki markup Group: Applications/Publishing Requires: %{name} = %{version}-%{release} +Requires: perl(Params::Validate) >= 0.77 +Requires: perl(Pod::Usage) >= 1.16 + +# Filter under-specified dependencies +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Pod::Usage\\)$ %description -n html2wiki A command line tool to convert pages in HTML to Wiki markup. Various wiki @@ -41,9 +79,6 @@ dialects are supported. %prep %setup -q -n HTML-WikiConverter-%{version} -# Disable failing Pod::Coverage test, CPAN RT#87296 -rm t/pod-coverage.t -sed -i -e '/^t\/pod-coverage.t/d' MANIFEST find webapp-install cgi/* -type f | xargs chmod 0644 @@ -79,6 +114,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man1/* %changelog +* Tue Jul 07 2015 Petr Pisar <ppi...@redhat.com> - 0.68-18 +- Specify all dependencies (CPAN RT#87296) + * Thu Jun 18 2015 Fedora Release Engineering <rel-...@lists.fedoraproject.org> - 0.68-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild -- cgit v0.10.2 http://pkgs.fedoraproject.org/cgit/perl-HTML-WikiConverter.git/commit/?h=master&id=f3a6fbab23729bed403e16b8689e52c44ccc43b1 -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/perl-devel