[perl-Pod-Spell-CommonMistakes] 1.001 bump

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

 



commit f14da6a79d2937b114f882a34f2f8621839e90eb
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Mon Nov 3 18:36:47 2014 +0100

    1.001 bump

 .gitignore                                         |    1 +
 ...-Remove-Pod-Spelling-CommonMistakes-usage.patch |   51 ++++++++++++++++++++
 perl-Pod-Spell-CommonMistakes.spec                 |   38 +++++++++++----
 sources                                            |    2 +-
 4 files changed, 81 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 58beb98..2054955 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /Pod-Spell-CommonMistakes-1.000.tar.gz
+/Pod-Spell-CommonMistakes-1.001.tar.gz
diff --git a/Pod-Spell-CommonMistakes-1.001-Remove-Pod-Spelling-CommonMistakes-usage.patch b/Pod-Spell-CommonMistakes-1.001-Remove-Pod-Spelling-CommonMistakes-usage.patch
new file mode 100644
index 0000000..1dc66c2
--- /dev/null
+++ b/Pod-Spell-CommonMistakes-1.001-Remove-Pod-Spelling-CommonMistakes-usage.patch
@@ -0,0 +1,51 @@
+From 05a4179895f1953f647bbc29a11bd1c558e1f0a9 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@xxxxxxxxxx>
+Date: Mon, 3 Nov 2014 18:24:58 +0100
+Subject: [PATCH] Remove Pod::Spelling::CommonMistakes usage
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Because it requires faulty Pod::Spelling, bug #1159518, CPAN RT#99987
+
+Signed-off-by: Petr Písař <ppisar@xxxxxxxxxx>
+---
+ MANIFEST       | 2 --
+ t/00-compile.t | 3 +--
+ 2 files changed, 1 insertion(+), 4 deletions(-)
+
+diff --git a/MANIFEST b/MANIFEST
+index bc38ea6..00ca6b0 100644
+--- a/MANIFEST
++++ b/MANIFEST
+@@ -18,9 +18,7 @@ doap.xml
+ examples/simple.pl
+ lib/Pod/Spell/CommonMistakes.pm
+ lib/Pod/Spell/CommonMistakes/WordList.pm
+-lib/Pod/Spelling/CommonMistakes.pm
+ t/00-compile.t
+ t/000-report-versions-tiny.t
+ t/apocalypse.t
+ t/good.pod
+-t/pod_spelling_adaptor.t
+diff --git a/t/00-compile.t b/t/00-compile.t
+index be87fec..df60eb1 100644
+--- a/t/00-compile.t
++++ b/t/00-compile.t
+@@ -6,12 +6,11 @@ use warnings;
+ 
+ use Test::More;
+ 
+-plan tests => 3 + ($ENV{AUTHOR_TESTING} ? 1 : 0);
++plan tests => 2 + ($ENV{AUTHOR_TESTING} ? 1 : 0);
+ 
+ my @module_files = (
+     'Pod/Spell/CommonMistakes.pm',
+     'Pod/Spell/CommonMistakes/WordList.pm',
+-    'Pod/Spelling/CommonMistakes.pm'
+ );
+ 
+ 
+-- 
+1.9.3
+
diff --git a/perl-Pod-Spell-CommonMistakes.spec b/perl-Pod-Spell-CommonMistakes.spec
index d4736a3..2556d37 100644
--- a/perl-Pod-Spell-CommonMistakes.spec
+++ b/perl-Pod-Spell-CommonMistakes.spec
@@ -1,24 +1,32 @@
 Name:           perl-Pod-Spell-CommonMistakes
-Version:        1.000
-Release:        8%{?dist}
+Version:        1.001
+Release:        1%{?dist}
 Summary:        Catches common typos in POD
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Pod-Spell-CommonMistakes/
 Source0:        http://www.cpan.org/authors/id/A/AP/APOCAL/Pod-Spell-CommonMistakes-%{version}.tar.gz
+# Remove Pod::Spelling::CommonMistakes module because Pod::Spelling is not
+# packaged and will not be packaged because it's faulty,
+# bug #1159518, CPAN RT#99987.
+Patch0:         Pod-Spell-CommonMistakes-1.001-Remove-Pod-Spelling-CommonMistakes-usage.patch
 BuildArch:      noarch
-BuildRequires:  perl(Module::Build)
+BuildRequires:  perl
+BuildRequires:  perl(Module::Build::Tiny) >= 0.039
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
 # Run-Time:
-BuildRequires:  perl(base)
 BuildRequires:  perl(Exporter)
 BuildRequires:  perl(IO::Scalar) >= 2.110
+BuildRequires:  perl(parent)
 BuildRequires:  perl(Pod::Spell) >= 1.01
 # Tests:
+BuildRequires:  perl(File::Spec)
 BuildRequires:  perl(File::Temp)
+BuildRequires:  perl(IO::Handle)
+BuildRequires:  perl(IPC::Open3)
 BuildRequires:  perl(Test::More) >= 0.88
-# Optional test:
-BuildRequires:  perl(Test::Script) >= 1.05
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 %description
 This module looks for any typos in your POD. It differs from Pod::Spell or
@@ -28,14 +36,19 @@ spellchecker. The idea for this came from the
 
 %prep
 %setup -q -n Pod-Spell-CommonMistakes-%{version}
+%patch0 -p1
+# Remove Pod::Spelling::CommonMistakes module because Pod::Spelling is not
+# packaged and will not be packaged because it's faulty,
+# bug #1159518, CPAN RT#99987.
+rm lib/Pod/Spelling/CommonMistakes.pm
+rm t/pod_spelling_adaptor.t
 
 %build
-%{__perl} Build.PL installdirs=vendor
+perl Build.PL --installdirs=vendor
 ./Build
 
 %install
-./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+./Build install "--destdir=$RPM_BUILD_ROOT" --create_packlist=0
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
@@ -47,6 +60,11 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 %{_mandir}/man3/*
 
 %changelog
+* Mon Nov 03 2014 Petr Pisar <ppisar@xxxxxxxxxx> - 1.001-1
+- 1.001 bump
+- Remove Pod::Spelling::CommonMistakes module because Pod::Spelling is broken
+  (bug #1159518)
+
 * Fri Aug 29 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 1.000-8
 - Perl 5.20 rebuild
 
diff --git a/sources b/sources
index adcc17d..695e4ba 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-6ed42f6fa54622567e22318955a648ae  Pod-Spell-CommonMistakes-1.000.tar.gz
+2ed69a1a6dc5aa61bdf43f81993d431f  Pod-Spell-CommonMistakes-1.001.tar.gz
--
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