Run-require POD convertors
This commit is contained in:
parent
a463624d73
commit
57ddcd4c84
@ -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@redhat.com> - 6.64-2
|
||||
- Run-require POD convertors to get manual pages when building other packages
|
||||
|
||||
* Mon Dec 17 2012 Petr Pisar <ppisar@redhat.com> - 6.64-1
|
||||
- 6.64 bump
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user