From 260cd794bb3a2263dd023db8acb54de34aa77b805a90bb6b35e97fe0541aa4d8 Mon Sep 17 00:00:00 2001 From: Brian White Date: Tue, 10 Apr 2018 19:47:14 +0000 Subject: [PATCH] Accepting request 595211 from home:adamm:branches:Base:System - xls2csv_update.patch: fix mc to call xls2csv correctly (bsc#1087708) OBS-URL: https://build.opensuse.org/request/show/595211 OBS-URL: https://build.opensuse.org/package/show/Base:System/mc?expand=0&rev=113 --- mc.changes | 6 ++++++ mc.spec | 5 ++++- xls2csv_update.patch | 17 +++++++++++++++++ 3 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 xls2csv_update.patch diff --git a/mc.changes b/mc.changes index b56bdbb..44f627d 100644 --- a/mc.changes +++ b/mc.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Apr 10 11:57:16 UTC 2018 - adam.majer@suse.de + +- xls2csv_update.patch: fix mc to call xls2csv correctly + (bsc#1087708) + ------------------------------------------------------------------- Tue Nov 28 16:42:07 UTC 2017 - ecsos@opensuse.org diff --git a/mc.spec b/mc.spec index 6a1cbd5..66b7b2d 100644 --- a/mc.spec +++ b/mc.spec @@ -1,7 +1,7 @@ # # spec file for package mc # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -61,6 +61,8 @@ Patch52: mc-pie.patch # mc-startup-timeout.patch mc3082 nadvornik@suse.cz - fix for long timeout on startup, bnc#824729 Patch60: mc-startup-timeout.patch +Patch100: xls2csv_update.patch + BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: audiofile-devel BuildRequires: e2fsprogs-devel @@ -124,6 +126,7 @@ echo "`grep %{name}-%{version}.tar.xz %{SOURCE6} | head -n1 | cut -c1-64` %{SOU %patch41 -p1 %patch52 -p1 %patch60 -p1 +%patch100 -p1 %build autoreconf --force --install diff --git a/xls2csv_update.patch b/xls2csv_update.patch new file mode 100644 index 0000000..0ee7cbb --- /dev/null +++ b/xls2csv_update.patch @@ -0,0 +1,17 @@ +Author: Adam Majer +Upstream: http://midnight-commander.org/ticket/3912 +Bugzilla: 1087708 + +Index: mc-4.8.11/misc/ext.d/doc.sh.in +=================================================================== +--- mc-4.8.11.orig/misc/ext.d/doc.sh.in ++++ mc-4.8.11/misc/ext.d/doc.sh.in +@@ -68,7 +68,7 @@ do_view_action() { + elinks -dump "$tmp/page.html" + rm -rf "$tmp" + } || \ +- xls2csv "${MC_EXT_FILENAME}" || \ ++ xls2csv -c - -x "${MC_EXT_FILENAME}" || \ + strings "${MC_EXT_FILENAME}" + ;; + dvi)