14
0

- add conflict for perl-Net-Whois-Raw because of /usr/bin/pwhois

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pythonwhois?expand=0&rev=2
This commit is contained in:
Sebastian Wagner
2018-02-19 10:00:51 +00:00
committed by Git OBS Bridge
parent ec49af9d4b
commit df49cc49d1
2 changed files with 14 additions and 5 deletions

View File

@@ -1,5 +1,10 @@
-------------------------------------------------------------------
Mon Feb 19 09:59:24 UTC 2018 - sebix+novell.com@sebix.at
- add conflict for perl-Net-Whois-Raw because of /usr/bin/pwhois
-------------------------------------------------------------------
Sun Feb 18 14:13:21 UTC 2018 - sebix+novell.com@sebix.at
- initial package for version 2.4.3
- add remove_argparse_req.patch to fix package installation
- add remove_argparse_req.patch to fix package installation

View File

@@ -13,6 +13,7 @@
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
@@ -20,20 +21,23 @@
Name: python-pythonwhois
Version: 2.4.3
Release: 0
License: WTFPL
Summary: Python whois library
Url: http://cryto.net/pythonwhois
License: WTFPL
Group: Development/Languages/Python
Url: http://cryto.net/pythonwhois
#Source: https://files.pythonhosted.org/packages/source/p/pythonwhois/pythonwhois-%%{version}.tar.gz
# github tarball includes docs and tests (which require network)
Source: https://github.com/joepie91/python-whois/archive/%{commit}.zip#/%{name}-%{version}.zip
# PATCH-FIX-UPSTREAM remove_argparse_req.patch -- argparse is not a package
Patch0: remove_argparse_req.patch
BuildRequires: python-rpm-macros
BuildRequires: unzip
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: unzip
%ifpython3
Conflicts: perl-Net-Whois-Raw
%endif
BuildArch: noarch
%python_subpackages