commit 57ddcd4c84cc57c93f982dfbcc1ca8d7696dbb85
Author: Petr Písař <ppisar(a)redhat.com>
Date: Tue Jan 29 16:20:36 2013 +0100
Run-require POD convertors
perl-ExtUtils-MakeMaker.spec | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/perl-ExtUtils-MakeMaker.spec b/perl-ExtUtils-MakeMaker.spec
index e4b785e..81531b5 100644
--- a/perl-ExtUtils-MakeMaker.spec
+++ b/perl-ExtUtils-MakeMaker.spec
@@ -3,7 +3,7 @@
Name: perl-%{cpan_name}
Version: %(echo '%{cpan_version}' | tr _ .)
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Create a module Makefile
License: GPL+ or Artistic
Group: Development/Libraries
@@ -41,7 +41,7 @@ BuildRequires: perl(Test::Harness)
BuildRequires: perl(Test::More)
# Optional tests
BuildRequires: perl(ExtUtils::CBuilder)
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(ExtUtils::Command)
Requires: perl(ExtUtils::Install)
Requires: perl(ExtUtils::Manifest)
@@ -49,6 +49,8 @@ Requires: perl(File::Find)
Requires: perl(File::Spec) >= 0.8
Requires: perl(Getopt::Long)
Requires: perl(Test::Harness)
+# Optional run-time needed for generating documentation from POD:
+Requires: perl(Pod::Man)
# Do not export underspecified dependencies
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(File::Spec\\)\s*$
@@ -68,7 +70,7 @@ rm -rf bundled/* ||:
sed -i -e '/^bundled\// d' MANIFEST
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
@@ -87,6 +89,9 @@ make test
%{_mandir}/man3/*
%changelog
+* Tue Jan 29 2013 Petr Pisar <ppisar(a)redhat.com> - 6.64-2
+- Run-require POD convertors to get manual pages when building other packages
+
* Mon Dec 17 2012 Petr Pisar <ppisar(a)redhat.com> - 6.64-1
- 6.64 bump