[perl] Run-require POD convertors by Module-Build and ExtUtils-MakeMaker
by Petr Pisar
commit 4cf035f24d07bf62bfbfb229e71b13d2320c464f
Author: Petr Písař <ppisar(a)redhat.com>
Date: Tue Jan 29 15:47:46 2013 +0100
Run-require POD convertors by Module-Build and ExtUtils-MakeMaker
This is needed otherwise Module::Build silently skips generating
manual pages which will not be found by rpmbuild.
perl.spec | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/perl.spec b/perl.spec
index de9f3e6..e2ff79d 100644
--- a/perl.spec
+++ b/perl.spec
@@ -29,7 +29,7 @@
Name: perl
Version: %{perl_version}
# release number must be even higher, because dual-lived modules will be broken otherwise
-Release: 248%{?dist}
+Release: 249%{?dist}
Epoch: %{perl_epoch}
Summary: Practical Extraction and Report Language
Group: Development/Languages
@@ -577,6 +577,8 @@ Requires: %perl_compat
Requires: perl(ExtUtils::Install)
Requires: perl(ExtUtils::Manifest)
Requires: perl(Test::Harness)
+# Optional run-time needed for generating documentation from POD:
+Requires: perl(Pod::Man)
BuildArch: noarch
# Filter false DynaLoader provides. Versioned perl(DynaLoader) keeps
@@ -824,6 +826,10 @@ Requires: perl(ExtUtils::CBuilder) >= 0.15
Requires: perl(ExtUtils::ParseXS) >= 1.02
Requires: perl-devel
Requires: %perl_compat
+# Optional run-time needed for generating documentation from POD:
+Requires: perl(Pod::Html)
+Requires: perl(Pod::Man)
+Requires: perl(Pod::Text)
BuildArch: noarch
%description Module-Build
@@ -2779,6 +2785,10 @@ sed \
# Old changelog entries are preserved in CVS.
%changelog
+* Tue Jan 29 2013 Petr Pisar <ppisar(a)redhat.com> - 4:5.16.2-249
+- Run-require POD convertors by Module-Build and ExtUtils-MakeMaker to
+ generate documentation when building other packages
+
* Fri Jan 25 2013 Petr Pisar <ppisar(a)redhat.com> - 4:5.16.2-248
- Sub-package Pod-LaTeX (bug #904085)
11 years, 2 months
[perl-ExtUtils-MakeMaker] Run-require POD convertors
by Petr Pisar
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
11 years, 2 months
[perl-Module-Build] Clean spec file up
by Petr Pisar
commit c05bde2cbdd3979aab8dcf20a73c03895728c607
Author: Petr Písař <ppisar(a)redhat.com>
Date: Tue Jan 29 16:13:29 2013 +0100
Clean spec file up
perl-Module-Build.spec | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/perl-Module-Build.spec b/perl-Module-Build.spec
index 2550601..57cc3f4 100644
--- a/perl-Module-Build.spec
+++ b/perl-Module-Build.spec
@@ -76,7 +76,7 @@ Requires: perl(Pod::Man)
Requires: perl(Pod::Text)
%{?perl_default_filter}
-# Remove under-sspecified dependencies
+# Remove under-specified dependencies
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((ExtUtils::Install|File::Spec|Module::Build|Module::Metadata|Perl::OSType)\\)$
%global __requires_exclude %__requires_exclude|^perl\\(CPAN::Meta::YAML\\) >= 0.002$
@@ -100,7 +100,6 @@ perl Build.PL installdirs=vendor
%install
./Build install destdir=%{buildroot} create_packlist=0
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} %{buildroot}/*
%check
11 years, 2 months
[perl-Module-Build] Run-require POD convertors to get manual pages when building other packages
by Petr Pisar
commit 7e1eb6b733795d7d3600541afcfe2092929e9307
Author: Petr Písař <ppisar(a)redhat.com>
Date: Tue Jan 29 15:33:58 2013 +0100
Run-require POD convertors to get manual pages when building other packages
perl-Module-Build.spec | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/perl-Module-Build.spec b/perl-Module-Build.spec
index 7edaea3..2550601 100644
--- a/perl-Module-Build.spec
+++ b/perl-Module-Build.spec
@@ -5,7 +5,7 @@
Name: perl-Module-Build
Epoch: 2
Version: %{cpan_version_major}%{?cpan_version_minor:.%cpan_version_minor}
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: Build and install Perl modules
License: GPL+ or Artistic
Group: Development/Libraries
@@ -70,6 +70,10 @@ Requires: perl(Module::Metadata) >= 1.000002
# Keep PAR support optional (PAR::Dist)
Requires: perl(Perl::OSType) >= 1
Requires: perl(Test::Harness)
+# Optional run-time needed for generating documentation from POD:
+Requires: perl(Pod::Html)
+Requires: perl(Pod::Man)
+Requires: perl(Pod::Text)
%{?perl_default_filter}
# Remove under-sspecified dependencies
@@ -111,6 +115,9 @@ LANG=C TEST_SIGNATURE=1 MB_TEST_EXPERIMENTAL=1 ./Build test
%{_mandir}/man3/*
%changelog
+* Tue Jan 29 2013 Petr Pisar <ppisar(a)redhat.com> - 2:0.40.03-5
+- Run-require POD convertors to get manual pages when building other packages
+
* Mon Dec 10 2012 Petr Pisar <ppisar(a)redhat.com> - 2:0.40.03-4
- YAML::Tiny is not needed at build time (bug #885146)
11 years, 2 months