diff --git a/perl-Pod-Perldoc.spec b/perl-Pod-Perldoc.spec index e24da17..70b777e 100644 --- a/perl-Pod-Perldoc.spec +++ b/perl-Pod-Perldoc.spec @@ -20,11 +20,10 @@ Patch1: Pod-Perldoc-3.28-Add-a-test-for-a-truncated-perldoc-f-tr-output. # 1/2 Fix searching for builtins in perlop POD, bug #1739463, CPAN RT#126015 Patch2: Pod-Perldoc-3.28-Search-for-X-in-the-whole-perlop-document.patch BuildArch: noarch -BuildRequires: findutils BuildRequires: make -BuildRequires: perl-interpreter BuildRequires: perl-generators -BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl-interpreter +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(strict) BuildRequires: perl(warnings) # Run-time: @@ -90,10 +89,10 @@ Requires: perl(Symbol) %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((Pod::Man|Pod::Simple::XMLOutStream|Pod::Simple::RTF)\\)$ %description -perldoc looks up a piece of documentation in .pod format that is embedded -in the perl installation tree or in a perl script, and displays it via +perldoc looks up a piece of documentation in POD format that is embedded +in the perl installation tree or in a Perl script, and displays it via "groff -man | $PAGER". This is primarily used for the documentation for -the perl library modules. +the Perl library modules. %prep %setup -q -n Pod-Perldoc-%{base_version} @@ -102,12 +101,11 @@ the perl library modules. %patch2 -p1 %build -perl Makefile.PL INSTALLDIRS=vendor -make %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 +%{make_build} %install -make pure_install DESTDIR=$RPM_BUILD_ROOT -find $RPM_BUILD_ROOT -type f -name .packlist -delete +%{make_install} %{_fixperms} $RPM_BUILD_ROOT/* %check