Update to 2.3.0 (rhbz#2156616)

This commit is contained in:
Lumir Balhar 2023-01-16 05:55:58 +01:00
parent 425ef3e970
commit b918de3551
3 changed files with 8 additions and 9 deletions

1
.gitignore vendored
View File

@ -29,3 +29,4 @@
/dnspython-2.1.0.tar.gz
/dnspython-2.2.0.tar.gz
/dnspython-2.2.1.tar.gz
/dnspython-2.3.0.tar.gz

View File

@ -12,8 +12,8 @@
%endif
Name: python-dns
Version: 2.2.1
Release: 4%{?dist}
Version: 2.3.0
Release: 1%{?dist}
Summary: DNS toolkit for Python
# The entire package is licensed with both licenses, see LICENSE file
@ -45,15 +45,10 @@ Summary: %{summary}
%description -n python3-dns %_description
%generate_buildrequires
%pyproject_buildrequires -r %{?with_trio:-x trio} %{?with_curio:-x curio} %{?with_doh:-x doh}
%pyproject_buildrequires -r -x dnssec -x idna %{?with_trio:-x trio} %{?with_curio:-x curio} %{?with_doh:-x doh}
%prep
%autosetup -p1 -n %{pypi_name}-%{version}%{rctag}
# Update trio from 0.20 to 0.21
sed -i "s/\(trio = {version=\">=0.14,<0.\)20\(\", optional=true}\)/\121\2/" pyproject.toml
# Update cryptography from 37.0 to 38.0
sed -i "s/\(cryptography = {version=\">=2.6,<\)37.0\(\", optional=true}\)/\138.0\2/" pyproject.toml
# strip exec permissions so that we don't pick up dependencies from docs
find examples -type f | xargs chmod a-x
@ -90,6 +85,9 @@ find examples -type f | xargs chmod a-x
%endif
%changelog
* Tue Jan 03 2023 Lumír Balhar <lbalhar@redhat.com> - 2.3.0-1
- Update to 2.3.0 (rhbz#2156616)
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (dnspython-2.2.1.tar.gz) = ec545468f604d6131f07259ca154c4f71d445d12c336ac1da0d2f025d6478ada76320a7235119312fed85da071ef309d2531e541d3c2340a50deaf3f4dd7b4eb
SHA512 (dnspython-2.3.0.tar.gz) = 0bb4b41262a1d97b724e48b4dfb70f1fb544c18824e7d2bc2dcb8ef6c943c6c827ce753ae4ccb2ab37e95c8f5ff5d2f4853f238509f21e6299a445760c41e10e