Fix perldoc synopsis
This commit is contained in:
parent
c516b6cf9a
commit
c7af9077c6
|
@ -0,0 +1,60 @@
|
||||||
|
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,12 +1,14 @@
|
||||||
%global cpan_version 3.17
|
%global cpan_version 3.17
|
||||||
Name: perl-Pod-Perldoc
|
Name: perl-Pod-Perldoc
|
||||||
Version: %(eval echo '%{cpan_version}' | tr '_' '.')
|
Version: %(eval echo '%{cpan_version}' | tr '_' '.')
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Look up Perl documentation in Pod format
|
Summary: Look up Perl documentation in Pod format
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
URL: http://search.cpan.org/dist/Pod-Perldoc/
|
URL: http://search.cpan.org/dist/Pod-Perldoc/
|
||||||
Source0: http://www.cpan.org/authors/id/M/MA/MALLEN/Pod-Perldoc-%{cpan_version}.tar.gz
|
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
|
BuildArch: noarch
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
# Run-time:
|
# Run-time:
|
||||||
|
@ -57,6 +59,7 @@ the perl library modules.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n Pod-Perldoc-%{cpan_version}
|
%setup -q -n Pod-Perldoc-%{cpan_version}
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
|
@ -78,6 +81,9 @@ make test
|
||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue May 15 2012 Petr Pisar <ppisar@redhat.com> - 3.17-2
|
||||||
|
- Fix perldoc synopsis (bug #821632)
|
||||||
|
|
||||||
* Mon Mar 19 2012 Petr Pisar <ppisar@redhat.com> - 3.17-1
|
* Mon Mar 19 2012 Petr Pisar <ppisar@redhat.com> - 3.17-1
|
||||||
- 3.17 bump
|
- 3.17 bump
|
||||||
- Fix displaying long POD in groff
|
- Fix displaying long POD in groff
|
||||||
|
|
Loading…
Reference in New Issue