diff --git a/python-cstruct-1.8.tar.gz b/python-cstruct-1.8.tar.gz deleted file mode 100644 index 3217cee..0000000 --- a/python-cstruct-1.8.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f46ad51f4c92f7296f83c7e3397cd5d8eba9eb1cac0c3a4a9f7cffbf07a394b2 -size 9911 diff --git a/python-cstruct-3.3.tar.gz b/python-cstruct-3.3.tar.gz new file mode 100644 index 0000000..dd3b57d --- /dev/null +++ b/python-cstruct-3.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:edfa9dd96b2512a4d7cd24842b9234ba32a60a65e15e08f7dbfca35836ea81e3 +size 27470 diff --git a/python-cstruct.changes b/python-cstruct.changes index f31efe0..c656242 100644 --- a/python-cstruct.changes +++ b/python-cstruct.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Mon Oct 24 15:29:46 UTC 2022 - Martin Hauke + +- Update to version 3.3 + * Fix tests on 32bit architecture +- Update to version 3.2 + * Add more tests + +------------------------------------------------------------------- +Fri Oct 14 13:45:17 UTC 2022 - Martin Hauke + +- Update to version 3.1 + * Make CStruct/MemCStruct Pickle Friendly +- Update to version 3.0 + * Flexible array support +- Update to version 2.3 + * Fix compare with None +- Update to version 2.2 + Fixes + * Fix empty MemCStruct size + Improvements + * Python 3.10 support + * pytest + * black code style + ------------------------------------------------------------------- Thu Oct 13 07:17:06 UTC 2022 - Dirk Müller diff --git a/python-cstruct.spec b/python-cstruct.spec index d444be4..8155112 100644 --- a/python-cstruct.spec +++ b/python-cstruct.spec @@ -2,7 +2,7 @@ # spec file for package python-cstruct # # Copyright (c) 2022 SUSE LLC -# Copyright (c) 2020, Martin Hauke +# Copyright (c) 2020-2022, Martin Hauke # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,14 +19,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-cstruct -Version: 1.8 +Version: 3.3 Release: 0 Summary: C-style structs for Python License: MIT Group: Development/Languages/Python URL: https://github.com/andreax79/python-cstruct Source: https://github.com/andreax79/python-cstruct/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz -BuildRequires: %{python_module devel} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -46,17 +45,14 @@ a string. %prep %setup -q -sed -i -e '/^#!\//, 1d' \ - cstruct/__init__.py \ - cstruct/examples/fdisk.py \ - cstruct/examples/who.py \ - cstruct/tests/test_cstruct.py %build %python_build %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