Ensure dns.rdtypes sub-packages are available.

Related: RHEL-32663

Signed-off-by: Rafael Guterres Jeffman <rjeffman@redhat.com>
This commit is contained in:
Rafael Guterres Jeffman 2024-08-20 15:56:21 -03:00
parent 7dbb003756
commit 9791156731
2 changed files with 7 additions and 3 deletions

View File

@ -34,7 +34,7 @@ diff -Naur dnspython-2.6.1/setup.py dnspython-2.6.1-mod/setup.py
+# OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+import sys
+from setuptools import setup
+from setuptools import setup, find_packages
+
+
+try:
@ -53,7 +53,7 @@ diff -Naur dnspython-2.6.1/setup.py dnspython-2.6.1-mod/setup.py
+kwargs = {
+ "name": "dnspython",
+ "version": "@VERSION@",
+ "packages": ["dns", "dns.rdtypes", "dns.dnssecalgs", "dns.quic"],
+ "packages": find_packages(exclude=["tests"]),
+ "ext_modules": ext_modules if compile_cython else None,
+ "zip_safe": False if compile_cython else None,
+}

View File

@ -12,7 +12,7 @@
Name: python-dns
Version: 2.6.1
Release: 2%{?dist}
Release: 3%{?dist}
Summary: DNS toolkit for Python
# The entire package is licensed with both licenses, see LICENSE file
@ -95,6 +95,10 @@ pytest
%endif
%changelog
* Tue Aug 20 2024 Rafael Jeffman <rjeffman@redhat.com> - 2.6.1-3
- Ensure dns.rdtypes subpackages are available
Related: RHEL-32663
* Mon Aug 19 2024 Rafael Jeffman <rjeffman@redhat.com> - 2.6.1-2
- Add missing files due to build change from hatchling to setuptools
Related: RHEL-32663