4 Commits

Author SHA256 Message Date
cab2c08fc6 Accepting request 1282974 from devel:languages:python
- Switch to pyproject macros.
- No more greedy globs in %files.

OBS-URL: https://build.opensuse.org/request/show/1282974
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dpkt?expand=0&rev=12
2025-06-05 18:34:41 +00:00
9acacab8a2 - Switch to pyproject macros.
- No more greedy globs in %files.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dpkt?expand=0&rev=33
2025-06-05 06:08:13 +00:00
64e50ab535 Accepting request 1223764 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1223764
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dpkt?expand=0&rev=11
2024-11-13 14:28:34 +00:00
9362217190 Accepting request 1223573 from home:glaubitz:branches:devel:languages:python
- Update to 1.9.8
  * Fixed endianness issues in PCAPNG, Loopback
  * Improved MPLS unpacking to include IPv6
  * Fixed unpacking of multiple records in TLS messages
  * Updated docstrings for multiples modules
  * Fixed a long-standing issue where serializing IP would change its length
  * Fixed IEEE 802.11 Beacon byte ordering
  * Graceful handling of PCAPNG option comment UTF-8 decoding errors
  * Added support for PCAPNG Packet Block
  * Added modpcap reader support
- Drop skip-BE-tests.patch, merged upstream

OBS-URL: https://build.opensuse.org/request/show/1223573
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dpkt?expand=0&rev=31
2024-11-12 17:14:57 +00:00
2 changed files with 13 additions and 5 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jun 5 06:03:56 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
- No more greedy globs in %files.
-------------------------------------------------------------------
Tue Nov 12 08:50:28 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-dpkt
#
# 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,7 +16,6 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{?sle15allpythons}
Name: python-dpkt
Version: 1.9.8
@@ -26,8 +25,10 @@ License: BSD-3-Clause
Group: Development/Libraries/Python
URL: https://github.com/kbandla/dpkt
Source: https://github.com/kbandla/dpkt/archive/v%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
@@ -45,10 +46,10 @@ the basic TCP/IP protocols.
sed -i -e '/addopts=/d' setup.cfg
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -57,6 +58,7 @@ sed -i -e '/addopts=/d' setup.cfg
%files %{python_files}
%license LICENSE
%doc examples AUTHORS README.md docs
%{python_sitelib}/*
%{python_sitelib}/dpkt
%{python_sitelib}/dpkt-%{version}.dist-info
%changelog