|
|
7993689 |
%global pypi_name rsa
|
|
|
7993689 |
|
|
Fabio Alessandro Locati |
d38317f |
Name: python-%{pypi_name}
|
|
|
a0e79f1 |
Version: 4.9
|
|
|
d25b6df |
Release: 5%{?dist}
|
|
Yohan Graterol |
b911edb |
Summary: Pure-Python RSA implementation
|
|
Yohan Graterol |
b911edb |
|
|
|
3346999 |
License: Apache-2.0
|
|
Yohan Graterol |
b911edb |
URL: http://stuvel.eu/rsa
|
|
Fabio Alessandro Locati |
d38317f |
Source0: https://pypi.python.org/packages/source/r/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
|
Yohan Graterol |
b911edb |
BuildArch: noarch
|
|
|
569b43b |
|
|
Fabio Alessandro Locati |
d38317f |
%description
|
|
Fabio Alessandro Locati |
d38317f |
Python-RSA is a pure-Python RSA implementation. It supports encryption
|
|
Fabio Alessandro Locati |
d38317f |
and decryption, signing and verifying signatures, and key generation
|
|
Fabio Alessandro Locati |
d38317f |
according to PKCS#1 version 1.5. It can be used as a Python library as
|
|
Fabio Alessandro Locati |
d38317f |
well as on the command-line.
|
|
Yohan Graterol |
b911edb |
|
|
Fabio Alessandro Locati |
d38317f |
%package -n python3-%{pypi_name}
|
|
Fabio Alessandro Locati |
d38317f |
Summary: Pure-Python RSA implementation
|
|
Fabio Alessandro Locati |
d38317f |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
569b43b |
|
|
|
7993689 |
BuildRequires: python3-devel
|
|
|
7993689 |
BuildRequires: python3-setuptools
|
|
|
8bcf4db |
#BuildRequires: python3-mypy
|
|
|
7993689 |
BuildRequires: python3-pyasn1 >= 0.1.3
|
|
Fabio Alessandro Locati |
d38317f |
Requires: python3-pyasn1 >= 0.1.3
|
|
Fabio Alessandro Locati |
d38317f |
Requires: python3-setuptools
|
|
|
7993689 |
|
|
Fabio Alessandro Locati |
d38317f |
%description -n python3-%{pypi_name}
|
|
Fabio Alessandro Locati |
d38317f |
Python-RSA is a pure-Python RSA implementation. It supports encryption
|
|
Fabio Alessandro Locati |
d38317f |
and decryption, signing and verifying signatures, and key generation
|
|
Fabio Alessandro Locati |
d38317f |
according to PKCS#1 version 1.5. It can be used as a Python library as
|
|
Fabio Alessandro Locati |
d38317f |
well as on the command-line.
|
|
Yohan Graterol |
b911edb |
|
|
Fabio Alessandro Locati |
d38317f |
%prep
|
|
|
97ccb6b |
%autosetup -n %{pypi_name}-%{version}
|
|
|
b53ae13 |
|
|
Yohan Graterol |
b911edb |
%build
|
|
Fabio Alessandro Locati |
d38317f |
%py3_build
|
|
Yohan Graterol |
b911edb |
|
|
Yohan Graterol |
b911edb |
%install
|
|
Fabio Alessandro Locati |
d38317f |
%py3_install
|
|
Fabio Alessandro Locati |
d38317f |
cp %{buildroot}%{_bindir}/pyrsa-priv2pub %{buildroot}%{_bindir}/pyrsa-priv2pub-3
|
|
Fabio Alessandro Locati |
d38317f |
cp %{buildroot}%{_bindir}/pyrsa-keygen %{buildroot}%{_bindir}/pyrsa-keygen-3
|
|
Fabio Alessandro Locati |
d38317f |
cp %{buildroot}%{_bindir}/pyrsa-encrypt %{buildroot}%{_bindir}/pyrsa-encrypt-3
|
|
Fabio Alessandro Locati |
d38317f |
cp %{buildroot}%{_bindir}/pyrsa-decrypt %{buildroot}%{_bindir}/pyrsa-decrypt-3
|
|
Fabio Alessandro Locati |
d38317f |
cp %{buildroot}%{_bindir}/pyrsa-sign %{buildroot}%{_bindir}/pyrsa-sign-3
|
|
Fabio Alessandro Locati |
d38317f |
cp %{buildroot}%{_bindir}/pyrsa-verify %{buildroot}%{_bindir}/pyrsa-verify-3
|
|
Fabio Alessandro Locati |
d38317f |
|
|
Fabio Alessandro Locati |
d38317f |
%files -n python3-%{pypi_name}
|
|
Fabio Alessandro Locati |
1d38101 |
%doc README.md
|
|
Fabio Alessandro Locati |
92a3df9 |
%license LICENSE
|
|
Fabio Alessandro Locati |
d38317f |
%{_bindir}/pyrsa-priv2pub
|
|
Fabio Alessandro Locati |
d38317f |
%{_bindir}/pyrsa-keygen
|
|
Fabio Alessandro Locati |
d38317f |
%{_bindir}/pyrsa-encrypt
|
|
Fabio Alessandro Locati |
d38317f |
%{_bindir}/pyrsa-decrypt
|
|
Fabio Alessandro Locati |
d38317f |
%{_bindir}/pyrsa-sign
|
|
Fabio Alessandro Locati |
d38317f |
%{_bindir}/pyrsa-verify
|
|
Fabio Alessandro Locati |
d38317f |
%{_bindir}/pyrsa-priv2pub-3
|
|
Fabio Alessandro Locati |
d38317f |
%{_bindir}/pyrsa-keygen-3
|
|
Fabio Alessandro Locati |
d38317f |
%{_bindir}/pyrsa-encrypt-3
|
|
Fabio Alessandro Locati |
d38317f |
%{_bindir}/pyrsa-decrypt-3
|
|
Fabio Alessandro Locati |
d38317f |
%{_bindir}/pyrsa-sign-3
|
|
Fabio Alessandro Locati |
d38317f |
%{_bindir}/pyrsa-verify-3
|
|
|
a1db845 |
%{python3_sitelib}/%{pypi_name}/
|
|
|
a1db845 |
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/
|
|
Yohan Graterol |
b911edb |
|
|
Yohan Graterol |
b911edb |
%check
|
|
|
e203c80 |
# Disabled following https://github.com/sybrenstuvel/python-rsa/issues/153
|
|
|
e203c80 |
# As for the multiple comments, it seems more like a test problem than a code problem
|
|
|
e203c80 |
# Please re-enable tests as soon as that Issue got solved
|
|
|
e203c80 |
# %{__python3} setup.py test
|
|
Yohan Graterol |
b43c0a0 |
|
|
Yohan Graterol |
b911edb |
%changelog
|
|
|
d25b6df |
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.9-5
|
|
|
d25b6df |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
d25b6df |
|
|
|
e972896 |
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.9-4
|
|
|
e972896 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
e972896 |
|
|
|
7fa4806 |
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.9-3
|
|
|
7fa4806 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
7fa4806 |
|
|
|
3346999 |
* Tue Jul 18 2023 Jason Montleon <jmontleo@redhat.com> - 4.9-2
|
|
|
3346999 |
- Migrate to SPDX license
|
|
|
3346999 |
|
|
|
a0e79f1 |
* Mon Jul 17 2023 Jason Montleon <jmontleo@redhat.com> - 4.9-1
|
|
|
a0e79f1 |
- Update to 4.9
|
|
|
a0e79f1 |
|
|
|
e0e41b3 |
* Wed Jun 14 2023 Python Maint <python-maint@redhat.com> - 4.8-6
|
|
|
e0e41b3 |
- Rebuilt for Python 3.12
|
|
|
e0e41b3 |
|
|
|
0aa23d5 |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.8-5
|
|
|
0aa23d5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
0aa23d5 |
|
|
|
08f9fd6 |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.8-4
|
|
|
08f9fd6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
08f9fd6 |
|
|
|
175ca2b |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 4.8-3
|
|
|
175ca2b |
- Rebuilt for Python 3.11
|
|
|
175ca2b |
|
|
|
3713a8e |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.8-2
|
|
|
3713a8e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
3713a8e |
|
|
|
204aebb |
* Mon Nov 29 2021 Jason Montleon <jmontleo@redhat.com> - 4.8-1
|
|
|
204aebb |
- Update to 4.8
|
|
|
204aebb |
|
|
|
a534927 |
* Wed Sep 15 2021 Jason Montleon <jmontleo@redhat.com> - 4.7.2-1
|
|
|
a534927 |
- Update to 4.7.2
|
|
|
a534927 |
|
|
|
4e906e9 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.6-5
|
|
|
4e906e9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
4e906e9 |
|
|
|
d11ae2a |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 4.6-4
|
|
|
d11ae2a |
- Rebuilt for Python 3.10
|
|
|
d11ae2a |
|
|
|
6896acc |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.6-3
|
|
|
6896acc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
6896acc |
|
|
|
078bd27 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.6-2
|
|
|
078bd27 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
078bd27 |
|
|
|
e203c80 |
* Sun Jul 05 2020 Fabio Alessandro Locati <fale@fedoraproject.org> - 4.6-1
|
|
|
e203c80 |
- Bump version to 4.6
|
|
|
e203c80 |
|
|
|
1b73a13 |
* Sun May 24 2020 Miro Hrončok <mhroncok@redhat.com> - 3.4.2-15
|
|
|
1b73a13 |
- Rebuilt for Python 3.9
|
|
|
1b73a13 |
|
|
|
6c420c5 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.2-14
|
|
|
6c420c5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
6c420c5 |
|
|
|
744fc81 |
* Thu Jan 9 2020 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 3.4.2-13
|
|
|
744fc81 |
- Remove dependency on unittest2 (#1789200)
|
|
|
744fc81 |
|
|
|
a1db845 |
* Fri Sep 20 2019 Miro Hrončok <mhroncok@redhat.com> - 3.4.2-12
|
|
|
a1db845 |
- Subpackage python2-rsa has been removed
|
|
|
a1db845 |
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
|
a1db845 |
|
|
|
515f86c |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 3.4.2-11
|
|
|
515f86c |
- Rebuilt for Python 3.8
|
|
|
515f86c |
|
|
|
9c71fa3 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.2-10
|
|
|
9c71fa3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
9c71fa3 |
|
|
|
66c8203 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.2-9
|
|
|
66c8203 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
66c8203 |
|
|
|
f724b86 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.2-8
|
|
|
f724b86 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
f724b86 |
|
|
|
b46ee0f |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 3.4.2-7
|
|
|
b46ee0f |
- Rebuilt for Python 3.7
|
|
|
b46ee0f |
|
|
|
9e8fabb |
* Tue Mar 13 2018 Iryna Shcherbina <ishcherb@redhat.com> - 3.4.2-6
|
|
|
9e8fabb |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
9e8fabb |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
9e8fabb |
|
|
|
cc80456 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.2-5
|
|
|
cc80456 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
cc80456 |
|
|
|
04bfc11 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.2-4
|
|
|
04bfc11 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
04bfc11 |
|
|
|
761abe9 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.2-3
|
|
|
761abe9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
761abe9 |
|
|
|
6a71dd3 |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 3.4.2-2
|
|
|
6a71dd3 |
- Rebuild for Python 3.6
|
|
|
6a71dd3 |
|
|
|
7993689 |
* Sat Oct 29 2016 Fabio Alessnadro Locati <fale@fedoraproject.org> - 3.4.2-1
|
|
|
294300f |
- Update to 3.4.2
|
|
|
294300f |
|
|
|
9ebff03 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4.1-2
|
|
|
9ebff03 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
9ebff03 |
|
|
|
7993689 |
* Sat Mar 26 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 3.4.1-1
|
|
Fabio Alessandro Locati |
1d38101 |
- Update to 3.4.1
|
|
Fabio Alessandro Locati |
1d38101 |
|
|
|
7993689 |
* Fri Mar 18 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 3.4-1
|
|
Fabio Alessandro Locati |
0da6546 |
- Bump to 3.4
|
|
Fabio Alessandro Locati |
f038075 |
- Remove the patch that is no longer needed since it has been merged upstream
|
|
Fabio Alessandro Locati |
0da6546 |
|
|
|
7993689 |
* Tue Feb 09 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 3.3-5
|
|
Fabio Alessandro Locati |
a015e44 |
- Fix bug #1305644
|
|
Fabio Alessandro Locati |
a015e44 |
|
|
|
fe87e10 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.3-4
|
|
|
fe87e10 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
fe87e10 |
|
|
|
7993689 |
* Tue Feb 02 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 3.3-3
|
|
Fabio Alessandro Locati |
06d41eb |
- Fix bug #1303660
|
|
Fabio Alessandro Locati |
06d41eb |
|
|
|
7993689 |
* Wed Jan 13 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 3.3-2
|
|
Fabio Alessandro Locati |
d8e0163 |
- Fix for EL6 and EPEL7
|
|
Fabio Alessandro Locati |
d8e0163 |
|
|
|
7993689 |
* Wed Jan 13 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 3.3-1
|
|
Fabio Alessandro Locati |
d38317f |
- Update to current upstream
|
|
Fabio Alessandro Locati |
d38317f |
- Fix CVE-2016-1494
|
|
Fabio Alessandro Locati |
d38317f |
- Bring spec compliant with current policy
|
|
Fabio Alessandro Locati |
d38317f |
|
|
|
569b43b |
* Tue Dec 8 2015 Paul Howarth <paul@city-fan.org> - 3.1.4-3
|
|
|
569b43b |
- Fix FTBFS (Debian Bug #804430)
|
|
|
569b43b |
- Run the tests for both python2 and python3
|
|
|
569b43b |
|
|
|
3bb3429 |
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.4-2
|
|
|
3bb3429 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
3bb3429 |
|
|
|
8cde5ce |
* Tue Oct 13 2015 Paul Howarth <paul@city-fan.org> - 3.1.4-1
|
|
|
8cde5ce |
- Update to 3.1.4 (#1226667)
|
|
|
8cde5ce |
|
|
|
b87e39a |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.1-7
|
|
|
b87e39a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
b87e39a |
|
|
|
b53ae13 |
* Fri Jul 25 2014 Lubomir Rintel <lkundrak@v3.sk> - 3.1.1-6
|
|
|
b53ae13 |
- Add Python 3 subpackage
|
|
|
b53ae13 |
|
|
|
728154b |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.1-5
|
|
|
728154b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
728154b |
|
|
Yohan Graterol |
b43c0a0 |
* Mon Aug 05 2013 Yohan Graterol <yohangraterol92@gmail.com> - 3.1.1-4
|
|
Yohan Graterol |
7a5b71f |
- Fix build in F20
|
|
|
7e0e70e |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.1-3
|
|
|
7e0e70e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
7e0e70e |
|
|
Yohan Graterol |
b911edb |
* Sun May 26 2013 Yohan Graterol <yohangraterol92@gmail.com> - 3.1.1-2
|
|
Yohan Graterol |
b911edb |
- Change license name, remove MANIFEST.in
|
|
Fabio Alessandro Locati |
d38317f |
|
|
Yohan Graterol |
b911edb |
* Sun May 19 2013 Yohan Graterol <yohangraterol92@gmail.com> - 3.1.1-1
|
|
Fabio Alessandro Locati |
d38317f |
- Initial packaging
|