14
0

Accepting request 864132 from home:bnavigator:branches:devel:languages:python

- Update to version 0.9.7
  * Support dnspython 2.
- Add localzone-dnspython-2.1.patch gh#ags-slc/localzone#3

OBS-URL: https://build.opensuse.org/request/show/864132
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-localzone?expand=0&rev=12
This commit is contained in:
2021-01-18 20:28:08 +00:00
committed by Git OBS Bridge
parent e665be6547
commit b8c88b73f5
5 changed files with 148 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-localzone
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,13 +18,16 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-localzone
Version: 0.9.6
Version: 0.9.7
Release: 0
Summary: A library for managing DNS zones
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/ags-slc/localzone
Source: https://github.com/ags-slc/localzone/archive/v%{version}.tar.gz
# The PyPI sdist does not provide the tests
Source: https://github.com/ags-slc/localzone/archive/v%{version}.tar.gz#/localzone-%{version}.tar.gz
# PATCH-FIX-UPSTREAM localzone-dnspython-2.1.patch gh#ags-slc/localzone#3 -- support dnspython 2.1
Patch0: https://github.com/ags-slc/localzone/pull/3.patch#/localzone-dnspython-2.1.patch
BuildRequires: %{python_module dnspython}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
@@ -38,7 +41,7 @@ BuildArch: noarch
A simple library for managing DNS zones.
%prep
%setup -q -n localzone-%{version}
%autosetup -p1 -n localzone-%{version}
%build
%python_build
@@ -53,6 +56,7 @@ A simple library for managing DNS zones.
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitelib}/*
%{python_sitelib}/localzone
%{python_sitelib}/localzone-%{version}*-info
%changelog