From 484825127557f25b32369e6f07bf1755de04213cc0069747ffecd81879a40c4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 27 Jun 2025 15:55:10 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main python-rsa revision d3b3dd691d1aee9dfd4a8893de79fe32 --- python-rsa.changes | 15 +++++++++++++++ python-rsa.spec | 16 ++++++++-------- rsa-4.9.1.tar.gz | 3 +++ rsa-4.9.tar.gz | 3 --- 4 files changed, 26 insertions(+), 11 deletions(-) create mode 100644 rsa-4.9.1.tar.gz delete mode 100644 rsa-4.9.tar.gz diff --git a/python-rsa.changes b/python-rsa.changes index 10f6e96..401a661 100644 --- a/python-rsa.changes +++ b/python-rsa.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Mon May 5 09:15:33 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 4.9.1 + * Final release, just to add a note about the 'archived' status + of the project.No other changes. See `README.md` for more info. +- Switch build system from setuptools to pyproject.toml + * Add python-pip and python-wheel to BuildRequires + * Replace %python_build with %pyproject_wheel + * Replace %python_install with %pyproject_install +- Switch package to modern Python Stack on SLE-15 + * Use Python 3.11 on SLE-15 by default + * Drop support for older Python versions +- Update BuildRequires from pyproject.toml + ------------------------------------------------------------------- Fri Apr 21 12:33:27 UTC 2023 - Dirk Müller diff --git a/python-rsa.spec b/python-rsa.spec index ff26218..c0df86a 100644 --- a/python-rsa.spec +++ b/python-rsa.spec @@ -1,7 +1,7 @@ # # spec file for package python-rsa # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,18 +22,18 @@ %bcond_with libalternatives %endif -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 %{?sle15_python_module_pythons} Name: python-rsa -Version: 4.9 +Version: 4.9.1 Release: 0 Summary: Pure-Python RSA Implementation License: Apache-2.0 Group: Development/Languages/Python URL: https://stuvel.eu/rsa Source: https://files.pythonhosted.org/packages/source/r/rsa/rsa-%{version}.tar.gz -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module poetry-core} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros >= 20210929 Requires: python-pyasn1 >= 0.1.3 @@ -42,7 +42,7 @@ Requires: alts BuildRequires: alts %else Requires(post): update-alternatives -Requires(preun):update-alternatives +Requires(preun): update-alternatives %endif Requires(pre): coreutils BuildArch: noarch @@ -62,11 +62,11 @@ PKCS#1 version 1.5. %build export LC_ALL=en_US.utf8 -%python_build +%pyproject_wheel %install export LC_ALL=en_US.utf8 -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %python_clone -a %{buildroot}%{_bindir}/pyrsa-priv2pub diff --git a/rsa-4.9.1.tar.gz b/rsa-4.9.1.tar.gz new file mode 100644 index 0000000..15a30bd --- /dev/null +++ b/rsa-4.9.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e7bdbfdb5497da4c07dfd35530e1a902659db6ff241e39d9953cad06ebd0ae75 +size 29034 diff --git a/rsa-4.9.tar.gz b/rsa-4.9.tar.gz deleted file mode 100644 index f25d356..0000000 --- a/rsa-4.9.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e38464a49c6c85d7f1351b0126661487a7e0a14a50f1675ec50eb34d4f20ef21 -size 29711