[perl-Pod-Perldoc] Fix perldoc synopsis

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit c7af9077c65d25f11c921d78d83c27d73b2f7629
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Tue May 15 11:19:42 2012 +0200

    Fix perldoc synopsis

 ...3.17-Remove-POD-code-from-perldoc-synopis.patch |   60 ++++++++++++++++++++
 perl-Pod-Perldoc.spec                              |    8 ++-
 2 files changed, 67 insertions(+), 1 deletions(-)
---
diff --git a/Pod-Perldoc-3.17-Remove-POD-code-from-perldoc-synopis.patch b/Pod-Perldoc-3.17-Remove-POD-code-from-perldoc-synopis.patch
new file mode 100644
index 0000000..83bb89f
--- /dev/null
+++ b/Pod-Perldoc-3.17-Remove-POD-code-from-perldoc-synopis.patch
@@ -0,0 +1,60 @@
+From f5257762b57e644f943f6d8a8da382b62b1585b9 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@xxxxxxxxxx>
+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
+
diff --git a/perl-Pod-Perldoc.spec b/perl-Pod-Perldoc.spec
index c09e189..1af363d 100644
--- a/perl-Pod-Perldoc.spec
+++ b/perl-Pod-Perldoc.spec
@@ -1,12 +1,14 @@
 %global cpan_version 3.17
 Name:           perl-Pod-Perldoc
 Version:        %(eval echo '%{cpan_version}' | tr '_' '.')
-Release:        1%{?dist}
+Release:        2%{?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(ExtUtils::MakeMaker)
 # Run-time:
@@ -57,6 +59,7 @@ the perl library modules.
 
 %prep
 %setup -q -n Pod-Perldoc-%{cpan_version}
+%patch0 -p1
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -78,6 +81,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Tue May 15 2012 Petr Pisar <ppisar@xxxxxxxxxx> - 3.17-2
+- Fix perldoc synopsis (bug #821632)
+
 * Mon Mar 19 2012 Petr Pisar <ppisar@xxxxxxxxxx> - 3.17-1
 - 3.17 bump
 - Fix displaying long POD in groff
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux