commit c55e39dd49198232026ddbcc9791f6da5e4559d1 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Wed Dec 10 17:15:37 2014 +0100 0.30 bump .gitignore | 1 + .rpmlint | 2 + perl-Dist-Zilla-Plugin-ReadmeFromPod.spec | 42 ++++++++++++++++++++-------- sources | 2 +- 4 files changed, 34 insertions(+), 13 deletions(-) --- diff --git a/.gitignore b/.gitignore index ecd8b8b..1cc13d4 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /Dist-Zilla-Plugin-ReadmeFromPod-0.21.tar.gz +/Dist-Zilla-Plugin-ReadmeFromPod-0.30.tar.gz diff --git a/.rpmlint b/.rpmlint new file mode 100644 index 0000000..ba9b9bf --- /dev/null +++ b/.rpmlint @@ -0,0 +1,2 @@ +from Config import * +addFilter("spelling-error .* Readme"); diff --git a/perl-Dist-Zilla-Plugin-ReadmeFromPod.spec b/perl-Dist-Zilla-Plugin-ReadmeFromPod.spec index aa2fbc9..b9fd833 100644 --- a/perl-Dist-Zilla-Plugin-ReadmeFromPod.spec +++ b/perl-Dist-Zilla-Plugin-ReadmeFromPod.spec @@ -1,6 +1,6 @@ Name: perl-Dist-Zilla-Plugin-ReadmeFromPod -Version: 0.21 -Release: 2%{?dist} +Version: 0.30 +Release: 1%{?dist} Summary: Automatically convert POD to a README for Dist::Zilla License: GPL+ or Artistic Group: Development/Libraries @@ -8,27 +8,42 @@ URL: http://search.cpan.org/dist/Dist-Zilla-Plugin-ReadmeFromPod/ Source0: http://www.cpan.org/authors/id/F/FA/FAYLAND/Dist-Zilla-Plugin-ReadmeFromPod-%{version}.tar.gz BuildArch: noarch BuildRequires: perl -BuildRequires: perl(Dist::Zilla::Role::InstallTool) >= 5 BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Run-time: +# Dist::Zilla::File::InMemory not used at tests +BuildRequires: perl(Dist::Zilla::Role::FilePruner) +BuildRequires: perl(Dist::Zilla::Role::InstallTool) >= 5 +BuildRequires: perl(IO::String) +BuildRequires: perl(Moose) +BuildRequires: perl(Moose::Autobox) +BuildRequires: perl(Pod::Readme) >= 1.1.1 +# Tests: BuildRequires: perl(File::Spec) BuildRequires: perl(IO::Handle) BuildRequires: perl(IPC::Open3) -BuildRequires: perl(Moose) -BuildRequires: perl(Moose::Autobox) -BuildRequires: perl(strict) BuildRequires: perl(Test::More) -BuildRequires: perl(warnings) -Requires: perl(Dist::Zilla::Role::InstallTool) >= 5 -Requires: perl(Pod::Simple) >= 3.23 -Requires: perl(Pod::Text) +# Test::Pod 1.41 not used Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) +Requires: perl(Dist::Zilla::File::InMemory) +Requires: perl(Dist::Zilla::Role::FilePruner) +Requires: perl(Dist::Zilla::Role::InstallTool) >= 5 +Requires: perl(Pod::Readme) >= 1.1.1 + +# Remove under-specified dependencies +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Pod::Readme\\)$ %description Generate the README file from main_module (or other if specified) -with Pod::Text. +with Pod::Readme. %prep %setup -q -n Dist-Zilla-Plugin-ReadmeFromPod-%{version} +# Normalize encoding +iconv -f ISO-8859-1 -t UTF-8 < README.md > README.md.utf8 +touch -r README.md README.md.utf8 +mv README.md.utf8 README.md %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 @@ -42,11 +57,14 @@ make pure_install DESTDIR=%{buildroot} make test %files -%doc Changes LICENSE README +%doc Changes LICENSE README.md %{perl_vendorlib}/* %{_mandir}/man3/* %changelog +* Wed Dec 10 2014 Petr Pisar <ppisar@xxxxxxxxxx> - 0.30-1 +- 0.30 bump + * Sun Sep 07 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 0.21-2 - Perl 5.20 rebuild diff --git a/sources b/sources index afd9ab2..52e1d62 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -80b5bdb647ff529d6d66f373658ac0bb Dist-Zilla-Plugin-ReadmeFromPod-0.21.tar.gz +98513b54f70d55ae28b399e25b6e5e4c Dist-Zilla-Plugin-ReadmeFromPod-0.30.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel