14
0
forked from pool/python-dpkt

2 Commits

Author SHA256 Message Date
0b6f0686d0 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
9fcfff08ea - 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/package/show/devel:languages:python/python-dpkt?expand=0&rev=31
2024-11-12 17:14:57 +00:00
2 changed files with 5 additions and 13 deletions

View File

@@ -1,9 +1,3 @@
-------------------------------------------------------------------
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) 2025 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,6 +16,7 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{?sle15allpythons}
Name: python-dpkt
Version: 1.9.8
@@ -25,10 +26,8 @@ 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
@@ -46,10 +45,10 @@ the basic TCP/IP protocols.
sed -i -e '/addopts=/d' setup.cfg
%build
%pyproject_wheel
%python_build
%install
%pyproject_install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -58,7 +57,6 @@ sed -i -e '/addopts=/d' setup.cfg
%files %{python_files}
%license LICENSE
%doc examples AUTHORS README.md docs
%{python_sitelib}/dpkt
%{python_sitelib}/dpkt-%{version}.dist-info
%{python_sitelib}/*
%changelog