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,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