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