- put LICENSE with %license
- make conditional tests (but disable by default because of OBS build isolation) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiodns?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
e6d8ac0782
commit
fe568e222c
@@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Feb 9 14:52:05 UTC 2018 - sleep_walker@opensuse.org
|
||||||
|
|
||||||
|
- put LICENSE with %license
|
||||||
|
- make conditional tests (but disable by default because of OBS build
|
||||||
|
isolation)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Feb 9 13:16:39 UTC 2018 - sleep_walker@opensuse.org
|
Fri Feb 9 13:16:39 UTC 2018 - sleep_walker@opensuse.org
|
||||||
|
|
||||||
|
@@ -16,17 +16,24 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
# DNS tests won't work in OBS
|
||||||
|
%bcond_with tests
|
||||||
|
|
||||||
Name: python-aiodns
|
Name: python-aiodns
|
||||||
Version: 1.1.1
|
Version: 1.1.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Simple DNS resolver for asyncio
|
Summary: Simple DNS resolver for asyncio
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
URL: https://github.com/saghul/aiodns/releases
|
Url: https://github.com/saghul/aiodns/releases
|
||||||
Source0: https://github.com/saghul/aiodns/archive/aiodns-%{version}.tar.gz
|
Source0: https://github.com/saghul/aiodns/archive/aiodns-%{version}.tar.gz
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module devel}
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
|
%if %{with tests}
|
||||||
|
BuildRequires: python-pycares
|
||||||
|
BuildRequires: python-trollius
|
||||||
|
%endif
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
@@ -44,7 +51,14 @@ Simple DNS resolver for asyncio module.
|
|||||||
%python_install
|
%python_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}/aiodns/
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}/aiodns/
|
||||||
|
|
||||||
|
%if %{with tests}
|
||||||
|
%check
|
||||||
|
%python_exec ./tests.py
|
||||||
|
%endif
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc LICENSE ChangeLog README.rst
|
%doc ChangeLog README.rst
|
||||||
|
%license LICENSE
|
||||||
%{python_sitelib}/aiodns*
|
%{python_sitelib}/aiodns*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
Reference in New Issue
Block a user