Sync from SUSE:SLFO:Main python-rsa revision d3b3dd691d1aee9dfd4a8893de79fe32

This commit is contained in:
2025-06-27 15:55:10 +02:00
parent 205507e79b
commit 4848251275
4 changed files with 26 additions and 11 deletions

View File

@@ -1,3 +1,18 @@
-------------------------------------------------------------------
Mon May 5 09:15:33 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- 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 <dmueller@suse.com>

View File

@@ -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

BIN
rsa-4.9.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

BIN
rsa-4.9.tar.gz (Stored with Git LFS)

Binary file not shown.