|
|
@ -7,8 +7,8 @@
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
Name: python-rsa
|
|
|
|
Name: python-rsa
|
|
|
|
Version: 3.1.1
|
|
|
|
Version: 3.1.4
|
|
|
|
Release: 7%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Pure-Python RSA implementation
|
|
|
|
Summary: Pure-Python RSA implementation
|
|
|
|
|
|
|
|
|
|
|
|
License: ASL 2.0
|
|
|
|
License: ASL 2.0
|
|
|
@ -18,12 +18,13 @@ Source0: https://pypi.python.org/packages/source/r/rsa/%{pkgname}-%{versi
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: python2-devel
|
|
|
|
BuildRequires: python2-devel
|
|
|
|
BuildRequires: python-setuptools
|
|
|
|
BuildRequires: python-setuptools
|
|
|
|
BuildRequires: python-pyasn1
|
|
|
|
BuildRequires: python-pyasn1 >= 0.1.3
|
|
|
|
BuildRequires: python-unittest2
|
|
|
|
BuildRequires: python-unittest2
|
|
|
|
|
|
|
|
Requires: python-pyasn1 >= 0.1.3
|
|
|
|
%if %with python3
|
|
|
|
%if %with python3
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
BuildRequires: python3-pyasn1
|
|
|
|
BuildRequires: python3-pyasn1 >= 0.1.3
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
@ -31,6 +32,7 @@ Pure-Python RSA implementation.
|
|
|
|
|
|
|
|
|
|
|
|
%package -n python3-rsa
|
|
|
|
%package -n python3-rsa
|
|
|
|
Summary: Pure-Python RSA implementation
|
|
|
|
Summary: Pure-Python RSA implementation
|
|
|
|
|
|
|
|
Requires: python3-pyasn1 >= 0.1.3
|
|
|
|
|
|
|
|
|
|
|
|
%description -n python3-rsa
|
|
|
|
%description -n python3-rsa
|
|
|
|
Pure-Python RSA implementation for Python 3.
|
|
|
|
Pure-Python RSA implementation for Python 3.
|
|
|
@ -38,8 +40,6 @@ Pure-Python RSA implementation for Python 3.
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{pkgname}-%{version}
|
|
|
|
%setup -q -n %{pkgname}-%{version}
|
|
|
|
rm -rf %{pkgname}-*.egg-info
|
|
|
|
rm -rf %{pkgname}-*.egg-info
|
|
|
|
sed -i "/from distribute_setup import use_setuptools/d" setup.py
|
|
|
|
|
|
|
|
sed -i "/use_setuptools('0.6.10')/d" setup.py
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if %with python3
|
|
|
|
%if %with python3
|
|
|
|
rm -rf %{py3dir}
|
|
|
|
rm -rf %{py3dir}
|
|
|
@ -76,20 +76,33 @@ popd
|
|
|
|
%{__python2} setup.py test
|
|
|
|
%{__python2} setup.py test
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
|
|
|
|
%if 0%{?_licensedir:1}
|
|
|
|
|
|
|
|
%license LICENSE
|
|
|
|
|
|
|
|
%else
|
|
|
|
%doc LICENSE
|
|
|
|
%doc LICENSE
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%doc README.rst
|
|
|
|
%{_bindir}/pyrsa*
|
|
|
|
%{_bindir}/pyrsa*
|
|
|
|
%{python2_sitelib}/rsa
|
|
|
|
%{python2_sitelib}/rsa/
|
|
|
|
%{python2_sitelib}/rsa-*.egg-info
|
|
|
|
%{python2_sitelib}/rsa-*.egg-info/
|
|
|
|
|
|
|
|
|
|
|
|
%if %with python3
|
|
|
|
%if %with python3
|
|
|
|
%files -n python3-rsa
|
|
|
|
%files -n python3-rsa
|
|
|
|
|
|
|
|
%if 0%{?_licensedir:1}
|
|
|
|
|
|
|
|
%license LICENSE
|
|
|
|
|
|
|
|
%else
|
|
|
|
%doc LICENSE
|
|
|
|
%doc LICENSE
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%doc README.rst
|
|
|
|
%{_bindir}/python3-pyrsa*
|
|
|
|
%{_bindir}/python3-pyrsa*
|
|
|
|
%{python3_sitelib}/rsa
|
|
|
|
%{python3_sitelib}/rsa/
|
|
|
|
%{python3_sitelib}/rsa-*.egg-info
|
|
|
|
%{python3_sitelib}/rsa-*.egg-info/
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Tue Oct 13 2015 Paul Howarth <paul@city-fan.org> - 3.1.4-1
|
|
|
|
|
|
|
|
- Update to 3.1.4 (#1226667)
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.1-7
|
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.1-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|