0.24 bump
This commit is contained in:
parent
c3865231de
commit
21d39d289a
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
/Module-Install-ReadmeFromPod-0.18.tar.gz
|
||||
/Module-Install-ReadmeFromPod-0.20.tar.gz
|
||||
/Module-Install-ReadmeFromPod-0.22.tar.gz
|
||||
/Module-Install-ReadmeFromPod-0.24.tar.gz
|
||||
|
||||
@ -0,0 +1,29 @@
|
||||
From 0998cd7ceaab1883524792c1112e206ce62117e0 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
|
||||
Date: Tue, 26 Apr 2016 10:48:59 +0200
|
||||
Subject: [PATCH] Regenerate README in UTF-8
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Signed-off-by: Petr Písař <ppisar@redhat.com>
|
||||
---
|
||||
Makefile.PL | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Makefile.PL b/Makefile.PL
|
||||
index 59c8aae..44005a4 100644
|
||||
--- a/Makefile.PL
|
||||
+++ b/Makefile.PL
|
||||
@@ -20,7 +20,7 @@ requires 'Pod::Html' => 0;
|
||||
requires 'Pod::Man' => 0;
|
||||
requires 'Pod::Markdown' => 2.0;
|
||||
recommends 'App::pod2pdf';
|
||||
-readme_from; # Self hosting!
|
||||
+readme_from '', { clean => 1, options => [ utf8 => 1 ]}; # Self hosting!
|
||||
githubmeta;
|
||||
clean_files 'dist have_make LICENSE';
|
||||
if ( $Config{make} and can_run( $Config{make} ) ) {
|
||||
--
|
||||
2.5.5
|
||||
|
||||
@ -1,37 +1,64 @@
|
||||
Name: perl-Module-Install-ReadmeFromPod
|
||||
Version: 0.22
|
||||
Release: 6%{?dist}
|
||||
Version: 0.24
|
||||
Release: 1%{?dist}
|
||||
Summary: Module::Install extension to automatically convert POD to a README
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/Module-Install-ReadmeFromPod/
|
||||
Source0: http://www.cpan.org/authors/id/B/BI/BINGOS/Module-Install-ReadmeFromPod-%{version}.tar.gz
|
||||
# Regenerate README in UTF-8
|
||||
Patch0: Module-Install-ReadmeFromPod-0.24-Regenerate-README-in-UTF-8.patch
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl >= 1:5.6.0
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: findutils
|
||||
BuildRequires: make
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl(Config)
|
||||
BuildRequires: perl(inc::Module::Install)
|
||||
BuildRequires: perl(lib)
|
||||
BuildRequires: perl(Module::Install::AutoLicense)
|
||||
BuildRequires: perl(Module::Install::AuthorRequires) >= 0.02
|
||||
BuildRequires: perl(Module::Install::GithubMeta)
|
||||
BuildRequires: perl(Module::Install::Metadata)
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: sed
|
||||
# Build script uses lib/Module/Install/ReadmeFromPod.pm
|
||||
# Run-time:
|
||||
BuildRequires: perl(base)
|
||||
BuildRequires: perl(Capture::Tiny) >= 0.05
|
||||
BuildRequires: perl(Config)
|
||||
BuildRequires: perl(File::Path)
|
||||
BuildRequires: perl(File::Temp)
|
||||
BuildRequires: perl(lib)
|
||||
BuildRequires: perl(Module::Install) >= 1
|
||||
BuildRequires: perl(Module::Install::AutoLicense)
|
||||
BuildRequires: perl(Module::Install::Base)
|
||||
BuildRequires: perl(Module::Install::GithubMeta)
|
||||
BuildRequires: perl(IO::All)
|
||||
# Module::Install::Base version from Module::Install in Makefile.PL
|
||||
BuildRequires: perl(Module::Install::Base) >= 1
|
||||
BuildRequires: perl(Pod::Html)
|
||||
BuildRequires: perl(Pod::Man)
|
||||
BuildRequires: perl(Pod::Markdown) >= 2
|
||||
BuildRequires: perl(Pod::Text) >= 3.13
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(vars)
|
||||
BuildRequires: perl(warnings)
|
||||
# Optional run-time:
|
||||
BuildRequires: perl(App::pod2pdf)
|
||||
# Tests:
|
||||
BuildRequires: perl(File::Path)
|
||||
BuildRequires: perl(File::Temp)
|
||||
BuildRequires: perl(Test::InDistDir)
|
||||
BuildRequires: perl(Test::More) >= 0.47
|
||||
# Optional tests:
|
||||
BuildRequires: perl(Test::Pod) >= 1.00
|
||||
BuildRequires: perl(Test::Pod::Coverage) >= 1.00
|
||||
BuildRequires: perl(warnings)
|
||||
Requires: perl(Module::Install) >= 1
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
Suggests: perl(App::pod2pdf)
|
||||
Requires: perl(Capture::Tiny) >= 0.05
|
||||
Requires: perl(IO::All)
|
||||
# Module::Install::Base version from Module::Install in Makefile.PL
|
||||
Requires: perl(Module::Install::Base) >= 1
|
||||
Requires: perl(Pod::Html)
|
||||
Requires: perl(Pod::Man)
|
||||
Requires: perl(Pod::Markdown) >= 2
|
||||
Requires: perl(Pod::Text) >= 3.13
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
# Remove under-specified dependencies
|
||||
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\(Module::Install::Base\\)$
|
||||
|
||||
%description
|
||||
Module::Install::ReadmeFromPod is a Module::Install extension that
|
||||
@ -41,28 +68,35 @@ supported: plain-text, HTML, PDF or manual page.
|
||||
|
||||
%prep
|
||||
%setup -q -n Module-Install-ReadmeFromPod-%{version}
|
||||
%patch0 -p1
|
||||
# Remove bundled modules
|
||||
rm -r inc
|
||||
sed -i -e '/^inc\// d' MANIFEST
|
||||
find -type f -exec chmod -x {} +
|
||||
# Drop executable bit from documentation
|
||||
chmod -x tools/git-log.pl
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
||||
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
||||
find $RPM_BUILD_ROOT -type f -name .packlist -delete
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%files
|
||||
%doc Changes LICENSE tools
|
||||
%license LICENSE
|
||||
%doc Changes README tools
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Tue Apr 26 2016 Petr Pisar <ppisar@redhat.com> - 0.24-1
|
||||
- 0.24 bump
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.22-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user