forked from pool/python-pythonwhois
- 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:
committed by
Git OBS Bridge
parent
ec49af9d4b
commit
df49cc49d1
@@ -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
|
Sun Feb 18 14:13:21 UTC 2018 - sebix+novell.com@sebix.at
|
||||||
|
|
||||||
- initial package for version 2.4.3
|
- 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
|
||||||
|
@@ -13,6 +13,7 @@
|
|||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
@@ -20,20 +21,23 @@
|
|||||||
Name: python-pythonwhois
|
Name: python-pythonwhois
|
||||||
Version: 2.4.3
|
Version: 2.4.3
|
||||||
Release: 0
|
Release: 0
|
||||||
License: WTFPL
|
|
||||||
Summary: Python whois library
|
Summary: Python whois library
|
||||||
Url: http://cryto.net/pythonwhois
|
License: WTFPL
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
|
Url: http://cryto.net/pythonwhois
|
||||||
#Source: https://files.pythonhosted.org/packages/source/p/pythonwhois/pythonwhois-%%{version}.tar.gz
|
#Source: https://files.pythonhosted.org/packages/source/p/pythonwhois/pythonwhois-%%{version}.tar.gz
|
||||||
# github tarball includes docs and tests (which require network)
|
# github tarball includes docs and tests (which require network)
|
||||||
Source: https://github.com/joepie91/python-whois/archive/%{commit}.zip#/%{name}-%{version}.zip
|
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
|
# PATCH-FIX-UPSTREAM remove_argparse_req.patch -- argparse is not a package
|
||||||
Patch0: remove_argparse_req.patch
|
Patch0: remove_argparse_req.patch
|
||||||
BuildRequires: python-rpm-macros
|
|
||||||
BuildRequires: unzip
|
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
|
BuildRequires: unzip
|
||||||
|
%ifpython3
|
||||||
|
Conflicts: perl-Net-Whois-Raw
|
||||||
|
%endif
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
Reference in New Issue
Block a user