Compare commits
10 Commits
62ac96896d
...
0688783e14
Author | SHA1 | Date | |
---|---|---|---|
|
0688783e14 | ||
|
79d3cbe635 | ||
|
0857a440b5 | ||
|
15ded307d7 | ||
|
467aedad41 | ||
|
f21bd92d38 | ||
|
d1c83c1bba | ||
|
939c8a2210 | ||
|
c8dadaddce | ||
|
ff272659f1 |
3
.gitignore
vendored
3
.gitignore
vendored
@ -30,3 +30,6 @@
|
|||||||
/dnspython-2.2.0.tar.gz
|
/dnspython-2.2.0.tar.gz
|
||||||
/dnspython-2.2.1.tar.gz
|
/dnspython-2.2.1.tar.gz
|
||||||
/dnspython-2.3.0.tar.gz
|
/dnspython-2.3.0.tar.gz
|
||||||
|
/dnspython-2.4.1.tar.gz
|
||||||
|
/dnspython-2.4.2.tar.gz
|
||||||
|
/dnspython-2.5.0.tar.gz
|
||||||
|
@ -3,17 +3,15 @@
|
|||||||
|
|
||||||
%if 0%{?rhel}
|
%if 0%{?rhel}
|
||||||
%bcond_with trio
|
%bcond_with trio
|
||||||
%bcond_with curio
|
|
||||||
%bcond_with doh
|
%bcond_with doh
|
||||||
%else
|
%else
|
||||||
%bcond_without trio
|
%bcond_without trio
|
||||||
%bcond_without curio
|
|
||||||
%bcond_without doh
|
%bcond_without doh
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: python-dns
|
Name: python-dns
|
||||||
Version: 2.3.0
|
Version: 2.5.0
|
||||||
Release: 3%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: DNS toolkit for Python
|
Summary: DNS toolkit for Python
|
||||||
|
|
||||||
# The entire package is licensed with both licenses, see LICENSE file
|
# The entire package is licensed with both licenses, see LICENSE file
|
||||||
@ -21,6 +19,7 @@ License: ISC
|
|||||||
URL: http://www.dnspython.org
|
URL: http://www.dnspython.org
|
||||||
|
|
||||||
Source0: https://github.com/rthalley/%{pypi_name}/archive/v%{version}%{rctag}/%{pypi_name}-%{version}%{rctag}.tar.gz
|
Source0: https://github.com/rthalley/%{pypi_name}/archive/v%{version}%{rctag}/%{pypi_name}-%{version}%{rctag}.tar.gz
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
@ -41,17 +40,24 @@ manipulation of DNS zones, messages, names, and records.
|
|||||||
%description %_description
|
%description %_description
|
||||||
%package -n python3-dns
|
%package -n python3-dns
|
||||||
Summary: %{summary}
|
Summary: %{summary}
|
||||||
|
%if ! 0%{?rhel}
|
||||||
|
Obsoletes: python3-dns+curio < 2.3.0-6
|
||||||
|
%endif
|
||||||
|
|
||||||
%description -n python3-dns %_description
|
%description -n python3-dns %_description
|
||||||
|
|
||||||
%generate_buildrequires
|
%generate_buildrequires
|
||||||
%pyproject_buildrequires -r -x dnssec -x idna %{?with_trio:-x trio} %{?with_curio:-x curio} %{?with_doh:-x doh}
|
%pyproject_buildrequires -r -x dnssec -x idna %{?with_trio:-x trio} %{?with_doh:-x doh}
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n %{pypi_name}-%{version}%{rctag}
|
%autosetup -p1 -n %{pypi_name}-%{version}%{rctag}
|
||||||
# strip exec permissions so that we don't pick up dependencies from docs
|
# strip exec permissions so that we don't pick up dependencies from docs
|
||||||
find examples -type f | xargs chmod a-x
|
find examples -type f | xargs chmod a-x
|
||||||
|
|
||||||
|
# Allow newer cryptography and requests-toolbelt
|
||||||
|
sed -i 's/cryptography = {version=">=2.6,<40.0"/cryptography = {version=">=2.6,<42.0"/' pyproject.toml
|
||||||
|
sed -i 's/requests-toolbelt = {version=">=0.9.1,<0.11.0"/requests-toolbelt = {version=">=0.9.1,<=1.0.0"/' pyproject.toml
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%pyproject_wheel
|
%pyproject_wheel
|
||||||
|
|
||||||
@ -67,7 +73,6 @@ export OPENSSL_ENABLE_SHA1_SIGNATURES=yes
|
|||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.md examples
|
%doc README.md examples
|
||||||
%pycached %exclude %{python3_sitelib}/dns/_trio_backend.py
|
%pycached %exclude %{python3_sitelib}/dns/_trio_backend.py
|
||||||
%pycached %exclude %{python3_sitelib}/dns/_curio_backend.py
|
|
||||||
|
|
||||||
%pyproject_extras_subpkg -n python3-dns dnssec idna
|
%pyproject_extras_subpkg -n python3-dns dnssec idna
|
||||||
|
|
||||||
@ -80,12 +85,35 @@ export OPENSSL_ENABLE_SHA1_SIGNATURES=yes
|
|||||||
%pycached %{python3_sitelib}/dns/_trio_backend.py
|
%pycached %{python3_sitelib}/dns/_trio_backend.py
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with curio}
|
|
||||||
%pyproject_extras_subpkg -n python3-dns curio
|
|
||||||
%pycached %{python3_sitelib}/dns/_curio_backend.py
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.0-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Jan 20 2024 Lumír Balhar <lbalhar@redhat.com> - 2.5.0-1
|
||||||
|
- Update to 2.5.0 (rhbz#2257079)
|
||||||
|
|
||||||
|
* Wed Nov 08 2023 Carl George <carlwgeorge@fedoraproject.org> - 2.4.2-2
|
||||||
|
- Relax upper bound on trio dependency
|
||||||
|
|
||||||
|
* Thu Aug 10 2023 Lumír Balhar <lbalhar@redhat.com> - 2.4.2-1
|
||||||
|
- Update to 2.4.2 (rhbz#2230509)
|
||||||
|
|
||||||
|
* Mon Jul 31 2023 Lumír Balhar <lbalhar@redhat.com> - 2.4.1-1
|
||||||
|
- Update to 2.4.1 (rhbz#2219703)
|
||||||
|
|
||||||
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-7
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jul 03 2023 Python Maint <python-maint@redhat.com> - 2.3.0-6
|
||||||
|
- Rebuilt for Python 3.12
|
||||||
|
|
||||||
|
* Thu Jun 15 2023 Python Maint <python-maint@redhat.com> - 2.3.0-5
|
||||||
|
- Bootstrap for Python 3.12
|
||||||
|
|
||||||
|
* Wed Jun 14 2023 Tomáš Hrnčiar <thrnciar@redhat.com> - 2.3.0-4
|
||||||
|
- Fix FTBFS by allowing newer versions of cryptography and requests-toolbelt
|
||||||
|
- Fixes: rhbz#2214971
|
||||||
|
|
||||||
* Wed Mar 8 2023 Rafael Jeffman <rjeffman@redhat.com> - 2.3.0-3
|
* Wed Mar 8 2023 Rafael Jeffman <rjeffman@redhat.com> - 2.3.0-3
|
||||||
- Migrated to SPDX license
|
- Migrated to SPDX license
|
||||||
|
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (dnspython-2.3.0.tar.gz) = 0bb4b41262a1d97b724e48b4dfb70f1fb544c18824e7d2bc2dcb8ef6c943c6c827ce753ae4ccb2ab37e95c8f5ff5d2f4853f238509f21e6299a445760c41e10e
|
SHA512 (dnspython-2.5.0.tar.gz) = 8ed207f9cee88dc1deb626d727c510dabace327586911e340df435c8cce5936efee51937b52881b4b4452d9c8c5bd903044bfef5a4effa95aaf05f24c0213b07
|
||||||
|
Loading…
Reference in New Issue
Block a user