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