forked from pool/python-dnspython
- Update to 1.16.0:
* various fixes for wheel/cryptodome/etc - Remove all patches, merged upstream: * 210.patch * pycryptodome.patch * readme.patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dnspython?expand=0&rev=47
This commit is contained in:
committed by
Git OBS Bridge
parent
ef92039401
commit
9994273251
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-dnspython
|
||||
#
|
||||
# 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
|
||||
@@ -18,32 +18,27 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-dnspython
|
||||
Version: 1.15.0
|
||||
Version: 1.16.0
|
||||
Release: 0
|
||||
Summary: A DNS toolkit for Python
|
||||
License: ISC
|
||||
Group: Development/Languages/Python
|
||||
Url: http://dnspython.org/
|
||||
URL: https://github.com/rthalley/dnspython
|
||||
Source: http://dnspython.org/kits/%{version}/dnspython-%{version}.tar.gz
|
||||
Source2: http://dnspython.org/kits/%{version}/dnspython-%{version}.tar.gz.asc
|
||||
Source3: python-dnspython.keyring
|
||||
# PATCH-FIX-UPSTREAM 210.patch git_hub@avram.us -- https://github.com/rthalley/dnspython/pull/210.patch
|
||||
Patch0: 210.patch
|
||||
# PATCH-FEATURE-OPENSUSE readme.patch -- Add the readme as patch as not included in the tarball.
|
||||
Patch1: readme.patch
|
||||
# PATCH-FIX-UPSTREAM pycryptodome.patch tchvatal@suse.com -- use pycryptodome https://github.com/rthalley/dnspython/pull/290
|
||||
Patch2: pycryptodome.patch
|
||||
BuildRequires: %{python_module ecdsa}
|
||||
BuildRequires: %{python_module idna}
|
||||
BuildRequires: %{python_module pycryptodome}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module typing}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: netcfg
|
||||
BuildRequires: python-rpm-macros
|
||||
Recommends: python-ecdsa
|
||||
Recommends: python-idna
|
||||
Requires: python-ecdsa
|
||||
Requires: python-pycryptodome
|
||||
BuildArch: noarch
|
||||
Recommends: python-idna
|
||||
|
||||
%description
|
||||
dnspython is a DNS toolkit for Python. It supports almost all
|
||||
@@ -64,9 +59,6 @@ allowed it to be opened under a BSD-style licence.
|
||||
%prep
|
||||
%setup -q -n dnspython-%{version}
|
||||
chmod -x examples/*
|
||||
%patch0
|
||||
%patch1
|
||||
%patch2 -p1
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@@ -77,12 +69,12 @@ chmod -x examples/*
|
||||
|
||||
%check
|
||||
# Skip the resolver test suite as it requires Internet connection.
|
||||
test -f tests/test_resolver.py && rm tests/test_resolver.py
|
||||
#test -f tests/test_resolver.py && rm tests/test_resolver.py
|
||||
%python_exec setup.py test
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc ChangeLog README.md examples/
|
||||
%doc README.md examples/
|
||||
%{python_sitelib}/dns/
|
||||
%{python_sitelib}/dnspython-%{version}-py%{python_version}.egg-info
|
||||
|
||||
|
||||
Reference in New Issue
Block a user