commit 0a4d3e1689ce06b32ce3e928a2ecb3921a9b6b17
Author: Gary Buhrmaster <gary.buhrmaster(a)gmail.com>
Date: Sat Jul 13 13:53:05 2019 +0000
Pull in latest patch from upstream to produce warning message
...sage-when-unable-to-retrieve-web-page-exi.patch | 26 ++++++++++++++++++++++
xmltv.spec | 7 +++++-
2 files changed, 32 insertions(+), 1 deletion(-)
---
diff --git a/0014-Warning-message-when-unable-to-retrieve-web-page-exi.patch
b/0014-Warning-message-when-unable-to-retrieve-web-page-exi.patch
new file mode 100644
index 0000000..bcc3ac3
--- /dev/null
+++ b/0014-Warning-message-when-unable-to-retrieve-web-page-exi.patch
@@ -0,0 +1,26 @@
+From 457954219a3e93f702bdb3875a9dd58450681fed Mon Sep 17 00:00:00 2001
+From: Geoff Westcott <honir999(a)gmail.com>
+Date: Thu, 11 Jul 2019 17:50:50 +0100
+Subject: [PATCH 14/14] Warning message when unable to retrieve web page (exit
+ status 1)
+
+---
+ grab/uk_tvguide/tv_grab_uk_tvguide | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/grab/uk_tvguide/tv_grab_uk_tvguide b/grab/uk_tvguide/tv_grab_uk_tvguide
+index 53c99a03..881a37c0 100755
+--- a/grab/uk_tvguide/tv_grab_uk_tvguide
++++ b/grab/uk_tvguide/tv_grab_uk_tvguide
+@@ -208,7 +208,7 @@ sub fetch_listings {
+
+ # tvguide website can be very slow - try to avoid barfing when no response
+ if (!defined $channelname) {
+- print STDERR "Unable to retrieve web page for $channel_id \n";
++ warning "Unable to retrieve web page for $channel_id";
+ next;
+ }
+
+--
+2.21.0
+
diff --git a/xmltv.spec b/xmltv.spec
index 7c0d178..1f06542 100644
--- a/xmltv.spec
+++ b/xmltv.spec
@@ -1,6 +1,6 @@
Name: xmltv
Version: 0.6.1
-Release: 6%{?dist}
+Release: 7%{?dist}
Summary: A set of utilities to manage your TV viewing
License: GPLv2+
@@ -32,6 +32,8 @@ Patch0011:
0011-fix-fetch_channels-after-website-changes-issue-64.patch
Patch0012: 0012-correct-FSF-address-issue-65.patch
# Upstream commit 240d203 - remove version on 'use XMLTV' to eliminate certain
packaging issues.
Patch0013: 0013-remove-version-on-use-XMLTV-to-eliminate-certain-pac.patch
+# Upstream commit 4579542 - Warning message when unable to retrieve web page (exit status
1)
+Patch0014: 0014-Warning-message-when-unable-to-retrieve-web-page-exi.patch
BuildArch: noarch
@@ -272,6 +274,9 @@ make test
%changelog
+* Sat Jul 13 2019 Gary Buhrmaster <gary.buhrmaster(a)gmail.com> - 0.6.1-7
+- Pull in latest patch from upstream to produce warning message
+
* Thu May 23 2019 Gary Buhrmaster <gary.buhrmaster(a)gmail.com> - 0.6.1-6
- Build tv_grab_zz_sdjson_sqlite for el7 now that
perl-DateTime-Format-SQLite has landed in epel7
Show replies by date