341440
# Optional features
341440
# Run Tk tests
341440
%bcond_without perl_Pod_Perldoc_enables_tk_test
341440
# Support for groff
341440
%bcond_without perl_enables_groff
341440
341440
%global base_version 3.28
341440
Name:           perl-Pod-Perldoc
341440
# let's overwrite the module from perl.srpm
341440
Version:        3.28.01
341440
Release:        461%{?dist}
341440
Summary:        Look up Perl documentation in Pod format
341440
License:        GPL+ or Artistic
341440
URL:            https://metacpan.org/release/Pod-Perldoc
341440
Source0:        https://cpan.metacpan.org/authors/id/M/MA/MALLEN/Pod-Perldoc-%{base_version}.tar.gz
341440
# Unbundled from perl 5.28.0-RC1
341440
Patch0:         Pod-Perldoc-3.28-Upgrade-to-3.2801.patch
341440
# 1/2 Fix searching for builtins in perlop POD, bug #1739463, CPAN RT#126015
341440
Patch1:         Pod-Perldoc-3.28-Add-a-test-for-a-truncated-perldoc-f-tr-output.patch
341440
# 1/2 Fix searching for builtins in perlop POD, bug #1739463, CPAN RT#126015
341440
Patch2:         Pod-Perldoc-3.28-Search-for-X-in-the-whole-perlop-document.patch
341440
BuildArch:      noarch
341440
BuildRequires:  make
341440
BuildRequires:  perl-generators
341440
BuildRequires:  perl-interpreter
341440
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
341440
BuildRequires:  perl(strict)
341440
BuildRequires:  perl(warnings)
341440
# Run-time:
341440
%if %{with perl_enables_groff}
341440
# Pod::Perldoc::ToMan executes roff
341440
BuildRequires:  groff-base
341440
%endif
341440
BuildRequires:  perl(Carp)
341440
BuildRequires:  perl(Config)
341440
BuildRequires:  perl(Encode)
341440
BuildRequires:  perl(Fcntl)
341440
BuildRequires:  perl(File::Basename)
341440
BuildRequires:  perl(File::Spec::Functions)
341440
# File::Temp 0.22 not used by tests
341440
# HTTP::Tiny not used by tests
341440
# IO::Handle not used by tests
341440
BuildRequires:  perl(IO::Select)
341440
# IPC::Open3 not used by tests
341440
BuildRequires:  perl(parent)
341440
# POD2::Base is optional
341440
# Pod::Checker is not needed if Pod::Simple::Checker is available
341440
BuildRequires:  perl(Pod::Man) >= 2.18
341440
BuildRequires:  perl(Pod::Simple::Checker)
341440
BuildRequires:  perl(Pod::Simple::RTF) >= 3.16
341440
BuildRequires:  perl(Pod::Simple::XMLOutStream) >= 3.16
341440
BuildRequires:  perl(Pod::Text)
341440
BuildRequires:  perl(Pod::Text::Color)
341440
BuildRequires:  perl(Pod::Text::Termcap)
341440
# Symbol not used by tests
341440
# Text::ParseWords not used by tests
341440
BuildRequires:  perl(vars)
341440
# Tests:
341440
BuildRequires:  perl(blib)
341440
BuildRequires:  perl(File::Spec)
341440
BuildRequires:  perl(FindBin)
341440
BuildRequires:  perl(Test::More)
341440
# Optional tests:
341440
%if !%{defined perl_bootstrap}
341440
%if !( 0%{?rhel} >= 7 )
341440
%if %{with perl_Pod_Perldoc_enables_tk_test}
341440
BuildRequires:  perl(Tk)
341440
# Tk::FcyEntry is optional
341440
BuildRequires:  perl(Tk::Pod)
341440
%endif
341440
%endif
341440
%endif
341440
%if %{with perl_enables_groff}
341440
# Pod::Perldoc::ToMan executes roff
341440
Requires:       groff-base
341440
%endif
341440
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
341440
Requires:       perl(File::Temp) >= 0.22
341440
Requires:       perl(HTTP::Tiny)
341440
Requires:       perl(IO::Handle)
341440
Requires:       perl(IPC::Open3)
341440
# POD2::Base is optional
341440
# Pod::Checker is not needed if Pod::Simple::Checker is available
341440
Requires:       perl(Pod::Simple::Checker)
341440
Requires:       perl(Pod::Simple::RTF) >= 3.16
341440
Requires:       perl(Pod::Simple::XMLOutStream) >= 3.16
341440
Requires:       perl(Text::ParseWords)
341440
# Tk is optional
341440
Requires:       perl(Symbol)
341440
341440
# Remove underspecified dependencies
341440
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((Pod::Man|Pod::Simple::XMLOutStream|Pod::Simple::RTF)\\)$
341440
341440
%description
341440
perldoc looks up a piece of documentation in POD format that is embedded
341440
in the perl installation tree or in a Perl script, and displays it via
341440
"groff -man | $PAGER". This is primarily used for the documentation for
341440
the Perl library modules.
341440
341440
%prep
341440
%setup -q -n Pod-Perldoc-%{base_version}
341440
%patch0 -p1
341440
%patch1 -p1
341440
%patch2 -p1
341440
341440
%build
341440
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
341440
%{make_build}
341440
341440
%install
341440
%{make_install}
341440
%{_fixperms} $RPM_BUILD_ROOT/*
341440
341440
%check
341440
make test
341440
341440
%files
341440
%doc Changes README
341440
%{_bindir}/perldoc
341440
%{perl_vendorlib}/*
341440
%{_mandir}/man1/*
341440
%{_mandir}/man3/*
341440
341440
%changelog
341440
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 3.28.01-461
341440
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
341440
  Related: rhbz#1991688
341440
341440
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 3.28.01-460
341440
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
341440
341440
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.28.01-459
341440
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
341440
341440
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.28.01-458
341440
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
341440
341440
* Fri Jun 26 2020 Jitka Plesnikova <jplesnik@redhat.com> - 3.28.01-457
341440
- Perl 5.32 re-rebuild of bootstrapped packages
341440
341440
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 3.28.01-456
341440
- Increase release to favour standalone package
341440
341440
* Tue Mar 03 2020 Petr Pisar <ppisar@redhat.com> - 3.28.01-444
341440
- Specify all dependencies
341440
341440
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.28.01-443
341440
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
341440
341440
* Fri Aug 16 2019 Petr Pisar <ppisar@redhat.com> - 3.28.01-442
341440
- Build-require blib module for tests (bug #1739463)
341440
341440
* Thu Aug 15 2019 Petr Pisar <ppisar@redhat.com> - 3.28.01-441
341440
- Fix searching for builtins in perlop POD (bug #1739463)
341440
341440
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.28.01-440
341440
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
341440
341440
* Sun Jun 02 2019 Jitka Plesnikova <jplesnik@redhat.com> - 3.28.01-439
341440
- Perl 5.30 re-rebuild of bootstrapped packages
341440
341440
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 3.28.01-438
341440
- Increase release to favour standalone package
341440
341440
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.28.01-419
341440
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
341440
341440
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.28.01-418
341440
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
341440
341440
* Sat Jun 30 2018 Jitka Plesnikova <jplesnik@redhat.com> - 3.28.01-417
341440
- Perl 5.28 re-rebuild of bootstrapped packages
341440
341440
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 3.28.01-416
341440
- Increase release to favour standalone package
341440
341440
* Thu May 24 2018 Jitka Plesnikova <jplesnik@redhat.com> - 3.28.01-1
341440
- Upgrade to 3.2801 as provided in perl-5.28.0-RC1
341440
341440
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.28-396
341440
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
341440
341440
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.28-395
341440
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
341440
341440
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 3.28-394
341440
- Perl 5.26 re-rebuild of bootstrapped packages
341440
341440
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 3.28-393
341440
- Perl 5.26 rebuild
341440
341440
* Mon Apr 03 2017 Petr Pisar <ppisar@redhat.com> - 3.28-2
341440
- Introduce a build-condition on groff
341440
- Rename a _without_tk build-condition to
341440
  _without_perl_Pod_Perldoc_enables_tk_test
341440
341440
* Thu Mar 16 2017 Petr Pisar <ppisar@redhat.com> - 3.28-1
341440
- 3.28 bump
341440
341440
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.27-2
341440
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
341440
341440
* Tue Aug 09 2016 Jitka Plesnikova <jplesnik@redhat.com> - 3.27-1
341440
- 3.27 bump
341440
341440
* Fri Jul 29 2016 Petr Pisar <ppisar@redhat.com> - 3.26-1
341440
- 3.26 bump
341440
341440
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 3.25-366
341440
- Perl 5.24 re-rebuild of bootstrapped packages
341440
341440
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 3.25-365
341440
- Increase release to favour standalone package
341440
341440
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.25-349
341440
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
341440
341440
* Mon Sep 21 2015 Petr Pisar <ppisar@redhat.com> - 3.25-348
341440
- Current generator detects dependency on Encode and Pod::Man properly
341440
341440
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.25-347
341440
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
341440
341440
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 3.25-346
341440
- Perl 5.22 re-rebuild of bootstrapped packages
341440
341440
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 3.25-345
341440
- Increase release to favour standalone package
341440
341440
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 3.25-2
341440
- Perl 5.22 rebuild
341440
341440
* Fri Feb 13 2015 Petr Pisar <ppisar@redhat.com> - 3.25-1
341440
- 3.25 bump
341440
341440
* Mon Sep 15 2014 Petr Pisar <ppisar@redhat.com> - 3.24-4
341440
- Enable perl(Tk) tests
341440
341440
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 3.24-3
341440
- Perl 5.20 re-rebuild of bootstrapped packages
341440
- Disable Perl(Tk) tests temporarily until Perl-Tk works with perl-5.20
341440
341440
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 3.24-2
341440
- Perl 5.20 rebuild
341440
341440
* Fri Aug 22 2014 Petr Pisar <ppisar@redhat.com> - 3.24-1
341440
- 3.24 bump
341440
341440
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.23-2
341440
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
341440
341440
* Tue Feb 25 2014 Petr Pisar <ppisar@redhat.com> - 3.23-1
341440
- 3.23 bump
341440
341440
* Mon Jan 06 2014 Petr Pisar <ppisar@redhat.com> - 3.21-1
341440
- 3.21 bump
341440
341440
* Mon Oct 07 2013 Petr Pisar <ppisar@redhat.com> - 3.20-7
341440
- Correct perldoc.pod location (bug #1010057)
341440
341440
* Wed Aug 14 2013 Jitka Plesnikova <jplesnik@redhat.com> - 3.20-6
341440
- Perl 5.18 re-rebuild of bootstrapped packages
341440
341440
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.20-5
341440
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
341440
341440
* Wed Jul 31 2013 Petr Pisar <ppisar@redhat.com> - 3.20-4
341440
- Specify all dependencies
341440
341440
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 3.20-3
341440
- Link minimal build-root packages against libperl.so explicitly
341440
341440
* Thu May 23 2013 Petr Pisar <ppisar@redhat.com> - 3.20-2
341440
- Specify all dependencies
341440
341440
* Mon Apr 29 2013 Petr Pisar <ppisar@redhat.com> - 3.20-1
341440
- 3.20 bump
341440
341440
* Tue Jan 29 2013 Petr Pisar <ppisar@redhat.com> - 3.19.01-1
341440
- 3.19_01 bump
341440
341440
* Mon Jan 28 2013 Petr Pisar <ppisar@redhat.com> - 3.19.00-1
341440
- 3.19 bump
341440
341440
* Wed Aug 15 2012 Petr Pisar <ppisar@redhat.com> - 3.17.00-241
341440
- Do not build-require perl(Tk) on RHEL >= 7
341440
- Depend on perl(HTTP::Tiny)
341440
341440
* Mon Aug 13 2012 Marcela Mašláňová <mmaslano@redhat.com> - 3.17.00-240
341440
- Bump release to override sub-package from perl.spec
341440
341440
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.17-9
341440
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
341440
341440
* Tue Jul 10 2012 Petr Pisar <ppisar@redhat.com> - 3.17-8
341440
- Perl 5.16 re-rebuild of bootstrapped packages
341440
341440
* Wed Jun 27 2012 Petr Pisar <ppisar@redhat.com> - 3.17-7
341440
- Perl 5.16 rebuild
341440
341440
* Wed Jun 27 2012 Petr Pisar <ppisar@redhat.com> - 3.17-6
341440
- Require groff-base because Pod::Perldoc::ToMan executes roff
341440
341440
* Wed Jun 06 2012 Petr Pisar <ppisar@redhat.com> - 3.17-5
341440
- Perl 5.16 rebuild
341440
341440
* Fri Jun 01 2012 Petr Pisar <ppisar@redhat.com> - 3.17-4
341440
- Omit optional Tk tests on bootstrap
341440
341440
* Wed May 30 2012 Marcela Mašláňová <mmaslano@redhat.com> - 3.17-3
341440
- conditionalize optional BR tests
341440
341440
* Tue May 15 2012 Petr Pisar <ppisar@redhat.com> - 3.17-2
341440
- Fix perldoc synopsis (bug #821632)
341440
341440
* Mon Mar 19 2012 Petr Pisar <ppisar@redhat.com> - 3.17-1
341440
- 3.17 bump
341440
- Fix displaying long POD in groff
341440
341440
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.15.10-2
341440
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
341440
341440
* Mon Nov 21 2011 Petr Pisar <ppisar@redhat.com> 3.15-1
341440
- Specfile autogenerated by cpanspec 1.78.
341440
- Remove BuildRoot and defattr from spec code.
341440
- perl(Config) BR removed
341440
- Source URL fixed to point to BDFOY author
341440
- Do not require unversioned perl(Pod::Simple::RTF)