forked from pool/python-pythonwhois
- fix boo#1129473
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pythonwhois?expand=0&rev=6
This commit is contained in:
committed by
Git OBS Bridge
parent
d95aceae3b
commit
bdc5d0c278
@@ -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>
|
||||||
|
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user