import python-dns-1.15.0-11.el8
This commit is contained in:
parent
17296920f3
commit
1f69a45503
14
SOURCES/float_none_comparison_fix.patch
Normal file
14
SOURCES/float_none_comparison_fix.patch
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
diff --git a/dns/query.py b/dns/query.py
|
||||||
|
index bfecd43..19b9fbb 100644
|
||||||
|
--- a/dns/query.py
|
||||||
|
+++ b/dns/query.py
|
||||||
|
@@ -467,7 +467,8 @@ def xfr(where, zone, rdtype=dns.rdatatype.AXFR, rdclass=dns.rdataclass.IN,
|
||||||
|
first = True
|
||||||
|
while not done:
|
||||||
|
mexpiration = _compute_expiration(timeout)
|
||||||
|
- if mexpiration is None or mexpiration > expiration:
|
||||||
|
+ if mexpiration is None or \
|
||||||
|
+ (expiration is not None and mexpiration > expiration):
|
||||||
|
mexpiration = expiration
|
||||||
|
if use_udp:
|
||||||
|
_wait_for_readable(s, expiration)
|
@ -1,6 +1,6 @@
|
|||||||
Name: python-dns
|
Name: python-dns
|
||||||
Version: 1.15.0
|
Version: 1.15.0
|
||||||
Release: 10%{?dist}
|
Release: 11%{?dist}
|
||||||
Summary: DNS toolkit for Python
|
Summary: DNS toolkit for Python
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -14,6 +14,10 @@ Patch0: test_fails_on_missing_file.patch
|
|||||||
# Upstream issue: https://github.com/rthalley/dnspython/issues/339
|
# Upstream issue: https://github.com/rthalley/dnspython/issues/339
|
||||||
Patch1: fix_unicode_label_escaping.patch
|
Patch1: fix_unicode_label_escaping.patch
|
||||||
|
|
||||||
|
# Fixes https://bugzilla.redhat.com/show_bug.cgi?id=2075187
|
||||||
|
# Backported from upstream: https://github.com/rthalley/dnspython/commit/9fbf9b223dc26262b1cf23f623f89283ee9c8375
|
||||||
|
Patch2: float_none_comparison_fix.patch
|
||||||
|
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
|
|
||||||
@ -71,6 +75,10 @@ find examples -type f | xargs chmod a-x
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Apr 21 2022 Charalampos Stratakis <cstratak@redhat.com> - 1.15.0-11
|
||||||
|
- Fix comparison between float and None types
|
||||||
|
Resolves: rhbz#2075187
|
||||||
|
|
||||||
* Thu Oct 24 2019 Lumír Balhar <lbalhar@redhat.com> - 1.15.0-10
|
* Thu Oct 24 2019 Lumír Balhar <lbalhar@redhat.com> - 1.15.0-10
|
||||||
- Release bump for gating
|
- Release bump for gating
|
||||||
Related: rhbz#1731081
|
Related: rhbz#1731081
|
||||||
|
Loading…
Reference in New Issue
Block a user