commit add19181744e0e3ba606c9c8c0a3dc3f0e91ba93
Author: Paul Howarth <paul(a)city-fan.org>
Date: Sun Jun 18 12:55:01 2017 +0100
Perl 5.26 rebuild
xmltv-0.5.69-Perl526.patch | 80 ++++++++++++++++++++++++++++++++++++++++++++++
xmltv.spec | 8 ++++-
2 files changed, 87 insertions(+), 1 deletion(-)
---
diff --git a/xmltv-0.5.69-Perl526.patch b/xmltv-0.5.69-Perl526.patch
new file mode 100644
index 0000000..c405fbc
--- /dev/null
+++ b/xmltv-0.5.69-Perl526.patch
@@ -0,0 +1,80 @@
+--- filter/tv_grep.PL
++++ filter/tv_grep.PL
+@@ -10,6 +10,7 @@
+ # $Id: tv_grep.PL,v 1.6 2006/06/03 19:33:46 epaepa Exp $
+ #
+
++use lib '.';
+ use IO::File;
+ use XMLTV;
+ require 'filter/Grep.pm';
+--- filter/tv_to_latex
++++ filter/tv_to_latex
+@@ -37,7 +37,6 @@ spurious blank lines in the output.
+ use strict;
+ use XMLTV::Version '$Id: tv_to_latex,v 1.18 2014/05/05 16:02:53 bilbo_uk Exp $
';
+ use IO::File;
+-use POSIX 'tmpnam';
+ use Getopt::Long;
+
+ # Use Log::TraceMessages if installed.
+--- filter/tv_to_text
++++ filter/tv_to_text
+@@ -34,7 +34,6 @@ use warnings;
+ use XMLTV::Version '$Id: tv_to_text,v 1.8 2015/06/08 17:41:14 stefanb2 Exp $ ';
+ use IO::File;
+ use Date::Manip;
+-use POSIX 'tmpnam';
+ use Getopt::Long;
+
+ BEGIN {
+--- grab/eu_egon/tv_grab_eu_egon.PL
++++ grab/eu_egon/tv_grab_eu_egon.PL
+@@ -2,6 +2,7 @@
+ #
+
+ use strict;
++use lib '.';
+
+ use IO::File;
+ my $out = shift @ARGV; die "no output file given" if not defined $out;
+--- grab/it/tv_grab_it.PL
++++ grab/it/tv_grab_it.PL
+@@ -13,6 +13,7 @@
+ # code below is based on lib/XMLTV.pm.pl
+
+ use strict;
++use lib '.';
+
+ use File::Copy qw/copy/;
+
+--- grab/se_swedb/tv_grab_se_swedb.PL
++++ grab/se_swedb/tv_grab_se_swedb.PL
+@@ -3,6 +3,7 @@
+ #
+
+ use strict;
++use lib '.';
+
+ use IO::File;
+ my $out = shift @ARGV; die "no output file given" if not defined $out;
+--- lib/XMLTV.pm.PL
++++ lib/XMLTV.pm.PL
+@@ -5,6 +5,7 @@
+ #
+
+ use strict;
++use lib '.';
+ sub print_list( $$ );
+
+ my $out = shift @ARGV; die "no output file given" if not defined $out;
+--- Makefile.PL
++++ Makefile.PL
+@@ -5,6 +5,7 @@ use ExtUtils::MakeMaker;
+ use Config;
+ use File::Basename ();
+ use File::Find;
++use lib'.';
+
+ # Don't use ':config pass_through' because that requires Getopt::Long
+ # 2.24 or later, and we don't have a clean way to require that.
diff --git a/xmltv.spec b/xmltv.spec
index d2b8533..aef1fc2 100644
--- a/xmltv.spec
+++ b/xmltv.spec
@@ -1,6 +1,6 @@
Name: xmltv
Version: 0.5.69
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: A set of utilities to manage your TV viewing
Group: Development/Libraries
@@ -8,6 +8,7 @@ License: GPLv2+
URL:
http://xmltv.org/wiki/
Source0:
http://downloads.sourceforge.net/xmltv/xmltv-%{version}.tar.bz2
Patch0: xmltv-0.5.63-noask.patch
+Patch1: xmltv-0.5.69-Perl526.patch
BuildArch: noarch
@@ -15,6 +16,7 @@ BuildArch: noarch
BuildRequires: perl-generators
%endif
BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(lib)
BuildRequires: perl(LWP) >= 5.65
BuildRequires: perl(XML::Parser) >= 2.34
BuildRequires: perl(XML::Twig) >= 3.28
@@ -140,6 +142,7 @@ This package contains graphical frontends to xmltv.
%prep
%setup -q
%patch0 -p1 -b .noask
+%patch1 -b .perl526
# Fix line endings
sed -i 's/\r//' grab/ch_search/tv_grab_ch_search.in
@@ -238,6 +241,9 @@ make test
%changelog
+* Sun Jun 18 2017 Paul Howarth <paul(a)city-fan.org> - 0.5.69-3
+- Perl 5.26 rebuild
+
* Tue Mar 21 2017 RPM Fusion Release Engineering <kwizart(a)rpmfusion.org> -
0.5.69-2
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild