Ensure dns.rdtypes sub-packages are available.
Related: RHEL-32663 Signed-off-by: Rafael Guterres Jeffman <rjeffman@redhat.com>
This commit is contained in:
parent
7dbb003756
commit
9791156731
@ -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.
|
+# OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
+
|
+
|
||||||
+import sys
|
+import sys
|
||||||
+from setuptools import setup
|
+from setuptools import setup, find_packages
|
||||||
+
|
+
|
||||||
+
|
+
|
||||||
+try:
|
+try:
|
||||||
@ -53,7 +53,7 @@ diff -Naur dnspython-2.6.1/setup.py dnspython-2.6.1-mod/setup.py
|
|||||||
+kwargs = {
|
+kwargs = {
|
||||||
+ "name": "dnspython",
|
+ "name": "dnspython",
|
||||||
+ "version": "@VERSION@",
|
+ "version": "@VERSION@",
|
||||||
+ "packages": ["dns", "dns.rdtypes", "dns.dnssecalgs", "dns.quic"],
|
+ "packages": find_packages(exclude=["tests"]),
|
||||||
+ "ext_modules": ext_modules if compile_cython else None,
|
+ "ext_modules": ext_modules if compile_cython else None,
|
||||||
+ "zip_safe": False if compile_cython else None,
|
+ "zip_safe": False if compile_cython else None,
|
||||||
+}
|
+}
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
Name: python-dns
|
Name: python-dns
|
||||||
Version: 2.6.1
|
Version: 2.6.1
|
||||||
Release: 2%{?dist}
|
Release: 3%{?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
|
||||||
@ -95,6 +95,10 @@ pytest
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Aug 19 2024 Rafael Jeffman <rjeffman@redhat.com> - 2.6.1-2
|
||||||
- Add missing files due to build change from hatchling to setuptools
|
- Add missing files due to build change from hatchling to setuptools
|
||||||
Related: RHEL-32663
|
Related: RHEL-32663
|
||||||
|
Loading…
Reference in New Issue
Block a user