Disable support output to PDF on RHEL
This commit is contained in:
parent
3b71b1744a
commit
4d0736b7fc
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user