From 7df7f650788160012166128c07ab44f36278530188e0ab3d12088c3f6abe2589 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Mon, 7 Apr 2025 12:23:44 +0000 Subject: [PATCH] Accepting request 1267633 from home:glaubitz:branches:devel:languages:python - Update to 0.9.26 * Implement matchWildcard (Issue #72) - Limit Python files matched in %files section - Switch build system from setuptools to pyproject.toml * Add python-pip and python-wheel to BuildRequires * Replace %python_build with %pyproject_wheel * Replace %python_install with %pyproject_install - Switch package to modern Python Stack on SLE-15 * Use Python 3.11 on SLE-15 by default * Drop support for older Python versions OBS-URL: https://build.opensuse.org/request/show/1267633 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dnslib?expand=0&rev=14 --- dnslib-0.9.25.tar.gz | 3 --- dnslib-0.9.26.tar.gz | 3 +++ python-dnslib.changes | 14 ++++++++++++++ python-dnslib.spec | 15 +++++++++------ 4 files changed, 26 insertions(+), 9 deletions(-) delete mode 100644 dnslib-0.9.25.tar.gz create mode 100644 dnslib-0.9.26.tar.gz diff --git a/dnslib-0.9.25.tar.gz b/dnslib-0.9.25.tar.gz deleted file mode 100644 index a8c674b..0000000 --- a/dnslib-0.9.25.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:687df2086e28086cb32b947dafa4c0a4e613f1429baa3be61d8b94e69418b4ef -size 82156 diff --git a/dnslib-0.9.26.tar.gz b/dnslib-0.9.26.tar.gz new file mode 100644 index 0000000..734fb9c --- /dev/null +++ b/dnslib-0.9.26.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:be56857534390b2fbd02935270019bacc5e6b411d156cb3921ac55a7fb51f1a8 +size 82901 diff --git a/python-dnslib.changes b/python-dnslib.changes index 43654f5..2a5b298 100644 --- a/python-dnslib.changes +++ b/python-dnslib.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Mon Apr 7 11:06:51 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 0.9.26 + * Implement matchWildcard (Issue #72) +- Limit Python files matched in %files section +- Switch build system from setuptools to pyproject.toml + * Add python-pip and python-wheel to BuildRequires + * Replace %python_build with %pyproject_wheel + * Replace %python_install with %pyproject_install +- Switch package to modern Python Stack on SLE-15 + * Use Python 3.11 on SLE-15 by default + * Drop support for older Python versions + ------------------------------------------------------------------- Mon Jul 15 15:54:39 UTC 2024 - Dirk Müller diff --git a/python-dnslib.spec b/python-dnslib.spec index 9021d02..bfcfbb9 100644 --- a/python-dnslib.spec +++ b/python-dnslib.spec @@ -1,7 +1,7 @@ # # spec file for package python-dnslib # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,16 +16,18 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?sle15_python_module_pythons} Name: python-dnslib -Version: 0.9.25 +Version: 0.9.26 Release: 0 Summary: Simple library to encode/decode DNS wire-format packets License: BSD-2-Clause Group: Development/Languages/Python URL: https://github.com/paulc/dnslib Source: https://files.pythonhosted.org/packages/source/d/dnslib/dnslib-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -39,10 +41,10 @@ Simple library to encode/decode DNS wire-format packets. sed -i '1{/^#!/d}' dnslib/test_decode.py %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -51,6 +53,7 @@ sed -i '1{/^#!/d}' dnslib/test_decode.py %files %{python_files} %doc README %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/dnslib +%{python_sitelib}/dnslib-%{version}.dist-info %changelog