|
|
|
@ -1,8 +1,8 @@
|
|
|
|
|
%global pypi_name rsa
|
|
|
|
|
|
|
|
|
|
Name: python-%{pypi_name}
|
|
|
|
|
Version: 3.4.2
|
|
|
|
|
Release: 15%{?dist}
|
|
|
|
|
Version: 4.6
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Pure-Python RSA implementation
|
|
|
|
|
|
|
|
|
|
License: ASL 2.0
|
|
|
|
@ -22,6 +22,7 @@ Summary: Pure-Python RSA implementation
|
|
|
|
|
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
|
BuildRequires: python3-mypy
|
|
|
|
|
BuildRequires: python3-pyasn1 >= 0.1.3
|
|
|
|
|
Requires: python3-pyasn1 >= 0.1.3
|
|
|
|
|
Requires: python3-setuptools
|
|
|
|
@ -46,8 +47,6 @@ cp %{buildroot}%{_bindir}/pyrsa-encrypt %{buildroot}%{_bindir}/pyrsa-encrypt-3
|
|
|
|
|
cp %{buildroot}%{_bindir}/pyrsa-decrypt %{buildroot}%{_bindir}/pyrsa-decrypt-3
|
|
|
|
|
cp %{buildroot}%{_bindir}/pyrsa-sign %{buildroot}%{_bindir}/pyrsa-sign-3
|
|
|
|
|
cp %{buildroot}%{_bindir}/pyrsa-verify %{buildroot}%{_bindir}/pyrsa-verify-3
|
|
|
|
|
cp %{buildroot}%{_bindir}/pyrsa-encrypt-bigfile %{buildroot}%{_bindir}/pyrsa-encrypt-bigfile-3
|
|
|
|
|
cp %{buildroot}%{_bindir}/pyrsa-decrypt-bigfile %{buildroot}%{_bindir}/pyrsa-decrypt-bigfile-3
|
|
|
|
|
|
|
|
|
|
%files -n python3-%{pypi_name}
|
|
|
|
|
%doc README.md
|
|
|
|
@ -58,23 +57,25 @@ cp %{buildroot}%{_bindir}/pyrsa-decrypt-bigfile %{buildroot}%{_bindir}/pyrsa-dec
|
|
|
|
|
%{_bindir}/pyrsa-decrypt
|
|
|
|
|
%{_bindir}/pyrsa-sign
|
|
|
|
|
%{_bindir}/pyrsa-verify
|
|
|
|
|
%{_bindir}/pyrsa-encrypt-bigfile
|
|
|
|
|
%{_bindir}/pyrsa-decrypt-bigfile
|
|
|
|
|
%{_bindir}/pyrsa-priv2pub-3
|
|
|
|
|
%{_bindir}/pyrsa-keygen-3
|
|
|
|
|
%{_bindir}/pyrsa-encrypt-3
|
|
|
|
|
%{_bindir}/pyrsa-decrypt-3
|
|
|
|
|
%{_bindir}/pyrsa-sign-3
|
|
|
|
|
%{_bindir}/pyrsa-verify-3
|
|
|
|
|
%{_bindir}/pyrsa-encrypt-bigfile-3
|
|
|
|
|
%{_bindir}/pyrsa-decrypt-bigfile-3
|
|
|
|
|
%{python3_sitelib}/%{pypi_name}/
|
|
|
|
|
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
%{__python3} setup.py test
|
|
|
|
|
# Disabled following https://github.com/sybrenstuvel/python-rsa/issues/153
|
|
|
|
|
# As for the multiple comments, it seems more like a test problem than a code problem
|
|
|
|
|
# Please re-enable tests as soon as that Issue got solved
|
|
|
|
|
# %{__python3} setup.py test
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun Jul 05 2020 Fabio Alessandro Locati <fale@fedoraproject.org> - 4.6-1
|
|
|
|
|
- Bump version to 4.6
|
|
|
|
|
|
|
|
|
|
* Sun May 24 2020 Miro Hrončok <mhroncok@redhat.com> - 3.4.2-15
|
|
|
|
|
- Rebuilt for Python 3.9
|
|
|
|
|
|
|
|
|
|