Merged update from upstream sources

This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/python-dns.git#154539a7be6ef89f2ef741d3f836c9f1ba2ef09f
This commit is contained in:
DistroBaker 2020-11-20 19:24:47 +00:00
parent 6f7c624351
commit 4180be57a7
3 changed files with 12 additions and 6 deletions

1
.gitignore vendored
View File

@ -25,3 +25,4 @@
/v2.0.0rc1.tar.gz
/v2.0.0.tar.gz
/dnspython-2.0.0.tar.gz
/dnspython-2.1.0rc1.tar.gz

View File

@ -1,16 +1,17 @@
%global pypi_name dnspython
%global py_package_name dns
%global rctag rc1
Name: python-%{py_package_name}
Version: 2.0.0
Release: 1%{?dist}
Version: 2.1.0
Release: 0.1.%{rctag}%{?dist}
Summary: DNS toolkit for Python
# The entire package is licensed with both licenses, see LICENSE file
License: ISC and MIT
URL: http://www.dnspython.org
Source0: https://github.com/rthalley/%{pypi_name}/archive/v%{version}/%{pypi_name}-%{version}.tar.gz
Source0: https://github.com/rthalley/%{pypi_name}/archive/v%{version}%{rctag}/%{pypi_name}-%{version}%{rctag}.tar.gz
BuildArch: noarch
@ -48,7 +49,7 @@ Summary: %{summary}
%{?python_extras_subpkg:%python_extras_subpkg -n python3-dns -i %{python3_sitelib}/*.egg-info dnssec trio doh idna}
%prep
%autosetup -p1 -n %{pypi_name}-%{version}
%autosetup -p1 -n %{pypi_name}-%{version}%{rctag}
# strip exec permissions so that we don't pick up dependencies from docs
find examples -type f | xargs chmod a-x
@ -60,7 +61,8 @@ find examples -type f | xargs chmod a-x
%py3_install
%check
%pytest
# Skipped test: https://github.com/rthalley/dnspython/issues/590#issuecomment-729644000
%pytest -k "not test_override"
%files -n python3-%{py_package_name}
%license LICENSE
@ -69,6 +71,9 @@ find examples -type f | xargs chmod a-x
%{python3_sitelib}/%{pypi_name}-*.egg-info
%changelog
* Wed Nov 18 2020 Lumír Balhar <lbalhar@redhat.com> - 2.1.0-0.1.rc1
- Update to 2.1.0-0.1.rc1 (#1893295)
* Thu Jul 30 2020 Lumír Balhar <lbalhar@redhat.com> - 2.0.0-1
- Update to 2.0.0 (#1849341)
- python2-dns moved to its own SRPM

View File

@ -1 +1 @@
SHA512 (dnspython-2.0.0.tar.gz) = 3b38850fcacb0dd25ac0345201474f297c402617e8d706f3061c42172d697103075098e62ca0ac4e0e29967e00407f32f41789ac7bf070fba5aec0af9882e0fb
SHA512 (dnspython-2.1.0rc1.tar.gz) = d1712adb4b859d27439ec10ccc17ba095e3d5fc9e8de797ae02fd88d7f52902145fc99fd526950cd7f36ee0b2fba2a4f831c5ac4f9239bc90574df5110ea54c9