From 4c61e2c8f8424bd690a6360613431b44666236c6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar(a)redhat.com>
Date: Tue, 1 Dec 2015 09:38:11 +0100
Subject: 4.00 bump
---
.gitignore | 1 +
perl-podlators.spec | 32 ++++++++++++++++++++------
podlators-2.5.3-fix-for-RT-98272.patch | 41 ----------------------------------
sources | 2 +-
4 files changed, 27 insertions(+), 49 deletions(-)
delete mode 100644 podlators-2.5.3-fix-for-RT-98272.patch
diff --git a/.gitignore b/.gitignore
index 5076a01..b607970 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
/podlators-2.5.1.tar.gz
/podlators-2.5.2.tar.gz
/podlators-2.5.3.tar.gz
+/podlators-4.00.tar.gz
diff --git a/perl-podlators.spec b/perl-podlators.spec
index 24f17c1..0c380d5 100644
--- a/perl-podlators.spec
+++ b/perl-podlators.spec
@@ -1,13 +1,11 @@
Name: perl-podlators
-Version: 2.5.3
-Release: 347%{?dist}
+Version: 4.00
+Release: 1%{?dist}
Summary: Format POD source into various output formats
License: GPL+ or Artistic
Group: Development/Libraries
URL:
http://search.cpan.org/dist/podlators/
Source0:
http://www.cpan.org/authors/id/R/RR/RRA/podlators-%{version}.tar.gz
-# Adapt tests to Term-Cap-1.16, CPAN RT#98272
-Patch0: podlators-2.5.3-fix-for-RT-98272.patch
BuildArch: noarch
BuildRequires: coreutils
BuildRequires: findutils
@@ -15,25 +13,43 @@ BuildRequires: make
BuildRequires: perl
BuildRequires: perl(Config)
BuildRequires: perl(ExtUtils::MakeMaker)
+# File::Spec version declared in lib/Pod/Man.pm comment
BuildRequires: perl(File::Spec) >= 0.8
+BuildRequires: perl(strict)
+BuildRequires: perl(warnings)
# Run-time:
BuildRequires: perl(Carp)
BuildRequires: perl(Encode)
BuildRequires: perl(Exporter)
BuildRequires: perl(File::Basename)
+# Getopt::Long not used at tests
BuildRequires: perl(Pod::Simple) >= 3.06
+# Pod::Usage not used at tests
BuildRequires: perl(POSIX)
-BuildRequires: perl(strict)
BuildRequires: perl(subs)
BuildRequires: perl(Term::ANSIColor)
BuildRequires: perl(Term::Cap)
BuildRequires: perl(vars)
# Tests:
+BuildRequires: perl(File::Find)
+BuildRequires: perl(FileHandle)
+BuildRequires: perl(Getopt::Long)
+BuildRequires: perl(IO::File)
+BuildRequires: perl(lib)
BuildRequires: perl(Test::More)
# Optional tests:
+# JSON::PP not used
+# Perl::Critic::Utils not used
+# Perl6::Slurp not used
BuildRequires: perl(PerlIO::encoding)
+# Test::MinimumVersion not used
+# Test::Pod not used
+# Test::Spelling not used
+# Test::Strict not used
+# Test::Synopsis not used
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo
$version))
Requires: perl(File::Basename)
+# File::Spec version declared in lib/Pod/Man.pm comment
Requires: perl(File::Spec) >= 0.8
Requires: perl(Pod::Simple) >= 3.06
Conflicts: perl < 4:5.16.1-234
@@ -49,7 +65,6 @@ with various capabilities.
%prep
%setup -q -n podlators-%{version}
-%patch0 -p1
%build
perl Makefile.PL INSTALLDIRS=vendor
@@ -64,13 +79,16 @@ find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
make test
%files
-%doc ChangeLog NOTES README THANKS TODO
+%doc Changes NOTES README THANKS TODO
%{_bindir}/*
%{perl_vendorlib}/*
%{_mandir}/man1/*
%{_mandir}/man3/*
%changelog
+* Tue Dec 01 2015 Petr Pisar <ppisar(a)redhat.com> - 4.00-1
+- 4.00 bump
+
* Wed Jul 15 2015 Petr Pisar <ppisar(a)redhat.com> - 2.5.3-347
- Adapt tests to Term-Cap-1.16
diff --git a/podlators-2.5.3-fix-for-RT-98272.patch
b/podlators-2.5.3-fix-for-RT-98272.patch
deleted file mode 100644
index 781a3f4..0000000
--- a/podlators-2.5.3-fix-for-RT-98272.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From 6cd1694c72ea7ae4fa4d5c247a7b968fe12d09cb Mon Sep 17 00:00:00 2001
-From: Slaven Rezic <slaven.rezic(a)idealo.de>
-Date: Wed, 12 Nov 2014 12:12:03 +0100
-Subject: [PATCH] fix for RT #98272
-
----
- t/basic.t | 3 ++-
- t/termcap.t | 3 ++-
- 2 files changed, 4 insertions(+), 2 deletions(-)
-
-diff --git a/t/basic.t b/t/basic.t
-index 4103ed6..5756107 100755
---- a/t/basic.t
-+++ b/t/basic.t
-@@ -44,7 +44,8 @@ sub source_path {
-
- # Hard-code a few values to try to get reproducible results.
- $ENV{COLUMNS} = 80;
--$ENV{TERM} = 'xterm';
-+#$ENV{TERM} = 'xterm';
-+delete $ENV{TERM};
- $ENV{TERMCAP} = 'xterm:co=80:do=^J:md=\E[1m:us=\E[4m:me=\E[m';
-
- # Map of translators to file extensions to find the formatted output to
-diff --git a/t/termcap.t b/t/termcap.t
-index d751bad..ac919aa 100755
---- a/t/termcap.t
-+++ b/t/termcap.t
-@@ -24,7 +24,8 @@ BEGIN { use_ok ('Pod::Text::Termcap') }
-
- # Hard-code a few values to try to get reproducible results.
- $ENV{COLUMNS} = 80;
--$ENV{TERM} = 'xterm';
-+#$ENV{TERM} = 'xterm';
-+delete $ENV{TERM};
- $ENV{TERMCAP} = 'xterm:co=80:do=^J:md=\E[1m:us=\E[4m:me=\E[m';
-
- my $parser = Pod::Text::Termcap->new;
---
-1.7.9.5
-
diff --git a/sources b/sources
index 940b787..37ebf96 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b7418e350400592021ff2de1d6212edd podlators-2.5.3.tar.gz
+1e66f3d84ada3269d4b1ab2d6c98ba58 podlators-4.00.tar.gz
--
cgit v0.11.2
http://pkgs.fedoraproject.org/cgit/perl-podlators.git/commit/?h=master&am...