15
0
forked from pool/python-dnslib

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
This commit is contained in:
2025-04-07 12:23:44 +00:00
committed by Git OBS Bridge
parent 6edf074b96
commit 7df7f65078
4 changed files with 26 additions and 9 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:687df2086e28086cb32b947dafa4c0a4e613f1429baa3be61d8b94e69418b4ef
size 82156

3
dnslib-0.9.26.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:be56857534390b2fbd02935270019bacc5e6b411d156cb3921ac55a7fb51f1a8
size 82901

View File

@@ -1,3 +1,17 @@
-------------------------------------------------------------------
Mon Apr 7 11:06:51 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- 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 <dmueller@suse.com>

View File

@@ -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