From bdc5d0c278e9f8082a8d5bcd5f47b1ade6376fac0773f6553ebb712a801c00b4 Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Sat, 16 Mar 2019 11:44:43 +0000 Subject: [PATCH] - fix boo#1129473 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pythonwhois?expand=0&rev=6 --- python-pythonwhois.changes | 5 +++++ python-pythonwhois.spec | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/python-pythonwhois.changes b/python-pythonwhois.changes index 1f26dcb..a43edaa 100644 --- a/python-pythonwhois.changes +++ b/python-pythonwhois.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Mar 16 11:38:52 UTC 2019 - Sebastian Wagner + +- fix boo#1129473 + ------------------------------------------------------------------- Tue Dec 4 12:53:13 UTC 2018 - Matej Cepl diff --git a/python-pythonwhois.spec b/python-pythonwhois.spec index 5f21528..8037c04 100644 --- a/python-pythonwhois.spec +++ b/python-pythonwhois.spec @@ -1,7 +1,7 @@ # # spec file for package python-pythonwhois # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -47,6 +47,9 @@ Module for retrieving and parsing the WHOIS data for a domain. %prep %setup -q -n python-whois-%{commit} %patch0 -p1 +# https://github.com/joepie91/python-whois/issues/142 +# boo#1129473 +sed -i 's/\(\s*regex = re.sub(r"\\\\s.*\)r"\\s\(.*\)>\\S\(.*\)/\1r"\\\\s\2>\\\\S\3/' pythonwhois/parse.py %build %python_build