Merged update from upstream sources

This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/perl-Module-Install-ReadmeFromPod.git#4d0736b7fcc50b2324d4152bd7a1c718bb3e2a69
This commit is contained in:
DistroBaker 2021-01-18 15:27:03 +00:00
parent e70e9a7570
commit 635e5fcb02

View File

@ -1,11 +1,16 @@
%if ! (0%{?rhel})
# Perform optional tests
%{bcond_without perl_Module_Install_ReadmeFromPod_enablas_optional_test}
%{bcond_without perl_Module_Install_ReadmeFromPod_enables_optional_test}
# Support output to PDF
%{bcond_without perl_Module_Install_ReadmeFromPod_enables_pdf}
%else
%{bcond_with perl_Module_Install_ReadmeFromPod_enables_optional_test}
%{bcond_with perl_Module_Install_ReadmeFromPod_enables_pdf}
%endif
Name: perl-Module-Install-ReadmeFromPod
Version: 0.30
Release: 13%{?dist}
Release: 14%{?dist}
Summary: Module::Install extension to automatically convert POD to a README
License: GPL+ or Artistic
URL: https://metacpan.org/release/Module-Install-ReadmeFromPod
@ -27,7 +32,6 @@ 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)
@ -50,7 +54,7 @@ BuildRequires: perl(File::Path)
BuildRequires: perl(File::Temp)
BuildRequires: perl(Test::InDistDir)
BuildRequires: perl(Test::More) >= 0.47
%if %{with perl_Module_Install_ReadmeFromPod_enablas_optional_test}
%if %{with perl_Module_Install_ReadmeFromPod_enables_optional_test}
# Optional tests:
BuildRequires: perl(Test::Pod) >= 1.00
BuildRequires: perl(Test::Pod::Coverage) >= 1.00
@ -83,7 +87,7 @@ supported: plain-text, HTML, PDF or manual page.
%patch1 -p1
# Remove bundled modules
rm -r inc
sed -i -e '/^inc\// d' MANIFEST
perl -i -ne 'print $_ unless m{^inc/}' MANIFEST
# Drop executable bit from documentation
chmod -x tools/git-log.pl
@ -105,6 +109,9 @@ make test
%{_mandir}/man3/*
%changelog
* Mon Jan 18 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.30-14
- Disable support output to PDF on RHEL
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.30-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild