[perl-Business-Hours] Fix POD syntax

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

 



commit dc35b8324cc8c67d32f9b18f642644ee51c59206
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Sat Jul 20 17:55:50 2013 +0200

    Fix POD syntax

 Business-Hours-0.10-Fix-POD-syntax.patch |   40 ++++++++++++++++++++++++++++++
 perl-Business-Hours.spec                 |    4 +++
 2 files changed, 44 insertions(+), 0 deletions(-)
---
diff --git a/Business-Hours-0.10-Fix-POD-syntax.patch b/Business-Hours-0.10-Fix-POD-syntax.patch
new file mode 100644
index 0000000..531b82a
--- /dev/null
+++ b/Business-Hours-0.10-Fix-POD-syntax.patch
@@ -0,0 +1,40 @@
+From 8ba47e61ff99b7225445224149f89d376dd6bda7 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@xxxxxxxxxx>
+Date: Sat, 20 Jul 2013 17:53:47 +0200
+Subject: [PATCH] Fix POD syntax
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+<https://rt.cpan.org/Public/Bug/Display.html?id=87106>
+
+Signed-off-by: Petr Písař <ppisar@xxxxxxxxxx>
+---
+ lib/Business/Hours.pm | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/lib/Business/Hours.pm b/lib/Business/Hours.pm
+index 28704cf..28c967e 100644
+--- a/lib/Business/Hours.pm
++++ b/lib/Business/Hours.pm
+@@ -154,7 +154,7 @@ an array reference value, for example:
+         holidays => [qw(01-01 12-25 2009-05-08)],
+     );
+ 
+-Read more about holidays specification below in L</"holidays ARRAY"|holidays>.
++Read more about holidays specification below in L<"holidays ARRAY"|holidays>.
+ 
+ =cut
+ 
+@@ -176,7 +176,7 @@ Specification with year defined may be required when a holiday
+ matches Sunday or Saturday. In many countries days are shifted
+ in such case.
+ 
+-Holidays can be set via L</"business_hours HASH"|business_hours> method
++Holidays can be set via L<"business_hours HASH"|business_hours> method
+ as well, so you can use this feature without changing your code.
+ 
+ =cut
+-- 
+1.8.1.4
+
diff --git a/perl-Business-Hours.spec b/perl-Business-Hours.spec
index 54efe19..7f1cd82 100644
--- a/perl-Business-Hours.spec
+++ b/perl-Business-Hours.spec
@@ -7,6 +7,8 @@ Group: 		Development/Libraries
 URL: 		http://search.cpan.org/dist/Business-Hours/
 
 Source0: http://search.cpan.org/CPAN/authors/id/R/RU/RUZ/Business-Hours-%{version}.tar.gz
+# Fix POD syntax, CPAN RT#87106
+Patch0: Business-Hours-0.10-Fix-POD-syntax.patch
 BuildArch: 	noarch
 
 Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
@@ -25,6 +27,7 @@ number of business hours between arbitrary dates.
 
 %prep
 %setup -q -n Business-Hours-%{version}
+%patch0 -p1
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -49,6 +52,7 @@ make test
 %changelog
 * Sat Jul 20 2013 Petr Pisar <ppisar@xxxxxxxxxx> - 0.10-6
 - Perl 5.18 rebuild
+- Fix POD syntax (CPAN RT#87106)
 
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.10-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
--
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