From d757aa3ef3143e63f0b0af4ff54fba4f1506f2a742eca96dcb0411777acebb4d Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 14 Nov 2022 08:00:03 +0000 Subject: [PATCH] Accepting request 1035444 from home:mnhauke - Update to version 5.0 * Add support for enums * Add support for multiple definition to cstruct.parse * Add inspect method OBS-URL: https://build.opensuse.org/request/show/1035444 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cstruct?expand=0&rev=9 --- python-cstruct-4.0.tar.gz | 3 --- python-cstruct-5.0.tar.gz | 3 +++ python-cstruct.changes | 8 ++++++++ python-cstruct.spec | 3 +-- 4 files changed, 12 insertions(+), 5 deletions(-) delete mode 100644 python-cstruct-4.0.tar.gz create mode 100644 python-cstruct-5.0.tar.gz diff --git a/python-cstruct-4.0.tar.gz b/python-cstruct-4.0.tar.gz deleted file mode 100644 index c425dcd..0000000 --- a/python-cstruct-4.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:db0711342f3fbe4a53f2fe020e3464e2fc06ea8e246dee0ffce358ea4ae95ab4 -size 28370 diff --git a/python-cstruct-5.0.tar.gz b/python-cstruct-5.0.tar.gz new file mode 100644 index 0000000..26deb2d --- /dev/null +++ b/python-cstruct-5.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7e929b879b9ebdac49bce16e170499180a7273bf381393da27a46bcdefea3fc7 +size 36194 diff --git a/python-cstruct.changes b/python-cstruct.changes index 2fc09c3..a701b11 100644 --- a/python-cstruct.changes +++ b/python-cstruct.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Sat Nov 12 11:16:08 UTC 2022 - Martin Hauke + +- Update to version 5.0 + * Add support for enums + * Add support for multiple definition to cstruct.parse + * Add inspect method + ------------------------------------------------------------------- Fri Nov 4 19:12:43 UTC 2022 - Martin Hauke diff --git a/python-cstruct.spec b/python-cstruct.spec index cd6fd3e..b737b6c 100644 --- a/python-cstruct.spec +++ b/python-cstruct.spec @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-cstruct -Version: 4.0 +Version: 5.0 Release: 0 Summary: C-style structs for Python License: MIT @@ -52,7 +52,6 @@ a string. %install %python_install %python_expand find %{buildroot}%{$python_sitelib} -name "*.py" -exec sed -i -e '/^#!\//, 1d' {} \; -%python_expand rm -R %{buildroot}%{$python_sitelib}/tests/ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check