diff --git a/jwcrypto-1.5.0.tar.gz b/jwcrypto-1.5.0.tar.gz deleted file mode 100644 index 50f7dc9..0000000 --- a/jwcrypto-1.5.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2c1dc51cf8e38ddf324795dfe9426dee9dd46caf47f535ccbc18781fba810b8d -size 86410 diff --git a/jwcrypto-1.5.1.tar.gz b/jwcrypto-1.5.1.tar.gz new file mode 100644 index 0000000..e2e576c --- /dev/null +++ b/jwcrypto-1.5.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:48bb9bf433777136253579e52b75ffe0f9a4a721d133d01f45a0b91ed5f4f1ae +size 86838 diff --git a/python-jwcrypto.changes b/python-jwcrypto.changes index ba47e90..90d7325 100644 --- a/python-jwcrypto.changes +++ b/python-jwcrypto.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Tue Jan 2 21:07:17 UTC 2024 - Dirk Müller + +- update to 1.5.1: + * Fix X22519 import/export from PEM + * Read the Docs now requires a config file + * chore: refactor for removing pdb symbols + * Fix potential DoS issue with p2c header + ------------------------------------------------------------------- Thu Dec 7 22:03:04 UTC 2023 - Dirk Müller diff --git a/python-jwcrypto.spec b/python-jwcrypto.spec index 847c24f..06b28f1 100644 --- a/python-jwcrypto.spec +++ b/python-jwcrypto.spec @@ -1,7 +1,7 @@ # # spec file for package python-jwcrypto # -# Copyright (c) 2023 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,12 +16,8 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} - -%define skip_python2 1 - Name: python-jwcrypto -Version: 1.5.0 +Version: 1.5.1 Release: 0 Summary: Python module package implementing JOSE Web standards License: LGPL-3.0-only @@ -29,8 +25,10 @@ URL: https://github.com/latchset/jwcrypto Source: https://files.pythonhosted.org/packages/source/j/jwcrypto/jwcrypto-%{version}.tar.gz BuildRequires: %{python_module Deprecated} BuildRequires: %{python_module cryptography >= 3.4} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-Deprecated @@ -51,10 +49,10 @@ RFC 7520 - Examples of Protecting Content Using JSON Object Signing and Encrypti %setup -q -n jwcrypto-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install rm -rv %{buildroot}%{_datadir}/doc/jwcrypto %python_expand %fdupes %{buildroot}%{$python_sitelib} @@ -62,7 +60,8 @@ rm -rv %{buildroot}%{_datadir}/doc/jwcrypto %pytest jwcrypto %files %{python_files} -%{python_sitelib}/* +%{python_sitelib}/jwcrypto +%{python_sitelib}/jwcrypto-%{version}.dist-info %license LICENSE %doc README.md