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..840c139 100644 --- a/python-cstruct.spec +++ b/python-cstruct.spec @@ -17,9 +17,8 @@ # -%{?!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 +51,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 @@ -61,6 +59,7 @@ a string. %files %{python_files} %license LICENSE %doc changelog.txt README.md -%{python_sitelib}/cstruct* +%{python_sitelib}/cstruct +%{python_sitelib}/cstruct-%{version}*-info %changelog