14
0

- Switch to github tarball to run tests

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-localzone?expand=0&rev=4
This commit is contained in:
Tomáš Chvátal
2018-12-07 12:00:05 +00:00
committed by Git OBS Bridge
parent 75156a4351
commit 9a2e954352
4 changed files with 14 additions and 5 deletions

View File

@@ -20,12 +20,13 @@
Name: python-localzone
Version: 0.9.4
Release: 0
Summary: A simple library for managing DNS zones
Summary: A library for managing DNS zones
License: BSD-3-Clause
Group: Development/Languages/Python
Url: https://localzone.iomaestro.com
Source: https://files.pythonhosted.org/packages/source/l/localzone/localzone-%{version}.tar.gz
Source: https://github.com/ags-slc/localzone/archive/v%{version}.tar.gz
BuildRequires: %{python_module dnspython}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -47,6 +48,9 @@ A simple library for managing DNS zones.
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix}
%files %{python_files}
%doc README.rst
%license LICENSE