14
0
Sebastian Wagner
2019-03-16 11:44:43 +00:00
committed by Git OBS Bridge
parent d95aceae3b
commit bdc5d0c278
2 changed files with 9 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Mar 16 11:38:52 UTC 2019 - Sebastian Wagner <sebix+novell.com@sebix.at>
- fix boo#1129473
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Dec 4 12:53:13 UTC 2018 - Matej Cepl <mcepl@suse.com> Tue Dec 4 12:53:13 UTC 2018 - Matej Cepl <mcepl@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pythonwhois # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # 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 %prep
%setup -q -n python-whois-%{commit} %setup -q -n python-whois-%{commit}
%patch0 -p1 %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 %build
%python_build %python_build