3.19 bump
This commit is contained in:
parent
6f63f1a58d
commit
edb957862f
|
@ -1,2 +1,3 @@
|
|||
/Pod-Perldoc-3.15_10.tar.gz
|
||||
/Pod-Perldoc-3.17.tar.gz
|
||||
/Pod-Perldoc-3.19.tar.gz
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
from Config import *
|
||||
addFilter("spelling-error .* groff");
|
|
@ -1,60 +0,0 @@
|
|||
From f5257762b57e644f943f6d8a8da382b62b1585b9 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
|
||||
Date: Tue, 15 May 2012 11:11:51 +0200
|
||||
Subject: [PATCH] Remove POD code from perldoc synopis
|
||||
|
||||
<https://rt.cpan.org/Public/Bug/Display.html?id=77209>
|
||||
---
|
||||
lib/perldoc.pod | 28 ++++++++++++++--------------
|
||||
1 files changed, 14 insertions(+), 14 deletions(-)
|
||||
|
||||
diff --git a/lib/perldoc.pod b/lib/perldoc.pod
|
||||
index 1cb08c6..798db23 100644
|
||||
--- a/lib/perldoc.pod
|
||||
+++ b/lib/perldoc.pod
|
||||
@@ -5,28 +5,28 @@ perldoc - Look up Perl documentation in Pod format.
|
||||
|
||||
=head1 SYNOPSIS
|
||||
|
||||
- B<perldoc> [B<-h>] [B<-D>] [B<-t>] [B<-u>] [B<-m>] [B<-l>] [B<-F>]
|
||||
- [B<-i>] [B<-V>] [B<-T>] [B<-r>]
|
||||
- [B<-dI<destination_file>>]
|
||||
- [B<-oI<formatname>>]
|
||||
- [B<-MI<FormatterClassName>>]
|
||||
- [B<-wI<formatteroption:value>>]
|
||||
- [B<-n>I<nroff-replacement>]
|
||||
- [B<-X>]
|
||||
- [B<-L> I<language_code>]
|
||||
+ perldoc [-h] [-D] [-t] [-u] [-m] [-l] [-F]
|
||||
+ [-i] [-V] [-T] [-r]
|
||||
+ [-dI<destination_file>]
|
||||
+ [-oI<formatname>]
|
||||
+ [-MI<FormatterClassName>]
|
||||
+ [-wI<formatteroption:value>]
|
||||
+ [-nI<nroff-replacement>]
|
||||
+ [-X]
|
||||
+ [-L I<language_code>]
|
||||
PageName|ModuleName|ProgramName|URL
|
||||
|
||||
Examples:
|
||||
|
||||
- B<perldoc> B<-f> BuiltinFunction
|
||||
+ perldoc -f BuiltinFunction
|
||||
|
||||
- B<perldoc> B<-L> it B<-f> BuiltinFunction
|
||||
+ perldoc -L it -f BuiltinFunction
|
||||
|
||||
- B<perldoc> B<-q> FAQ Keyword
|
||||
+ perldoc -q FAQ Keyword
|
||||
|
||||
- B<perldoc> B<-L> fr B<-q> FAQ Keyword
|
||||
+ perldoc -L fr -q FAQ Keyword
|
||||
|
||||
- B<perldoc> B<-v> PerlVariable
|
||||
+ perldoc -v PerlVariable
|
||||
|
||||
See below for more description of the switches.
|
||||
|
||||
--
|
||||
1.7.7.6
|
||||
|
|
@ -1,16 +1,15 @@
|
|||
%global cpan_version 3.17
|
||||
%global cpan_version 3.19
|
||||
Name: perl-Pod-Perldoc
|
||||
# let's overwrite the module from perl.srpm
|
||||
Version: 3.17.00
|
||||
Release: 241%{?dist}
|
||||
Version: %{cpan_version}.00
|
||||
Release: 1%{?dist}
|
||||
Summary: Look up Perl documentation in Pod format
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/Pod-Perldoc/
|
||||
Source0: http://www.cpan.org/authors/id/M/MA/MALLEN/Pod-Perldoc-%{cpan_version}.tar.gz
|
||||
# Bug #821632, submitted to upstream as RT#77209
|
||||
Patch0: Pod-Perldoc-3.17-Remove-POD-code-from-perldoc-synopis.patch
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
# Run-time:
|
||||
# Pod::Perldoc::ToMan executes roff
|
||||
|
@ -45,7 +44,7 @@ BuildRequires: perl(Tk::Pod)
|
|||
%endif
|
||||
# Pod::Perldoc::ToMan executes roff
|
||||
Requires: groff-base
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
Requires: perl(Encode)
|
||||
Requires: perl(File::Temp) >= 0.22
|
||||
Requires: perl(HTTP::Tiny)
|
||||
|
@ -70,16 +69,14 @@ the perl library modules.
|
|||
|
||||
%prep
|
||||
%setup -q -n Pod-Perldoc-%{cpan_version}
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
||||
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
||||
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
|
@ -89,9 +86,13 @@ make test
|
|||
%doc Changes README
|
||||
%{_bindir}/perldoc
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man1/*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Mon Jan 28 2013 Petr Pisar <ppisar@redhat.com> - 3.19.00-1
|
||||
- 3.19 bump
|
||||
|
||||
* Wed Aug 15 2012 Petr Pisar <ppisar@redhat.com> - 3.17.00-241
|
||||
- Do not build-require perl(Tk) on RHEL >= 7
|
||||
- Depend on perl(HTTP::Tiny)
|
||||
|
|
Loading…
Reference in New Issue