Subpackage python2-itsdangerous has been removed
This commit is contained in:
parent
7de0c92648
commit
32b29cd3d4
@ -1,14 +1,9 @@
|
|||||||
%global upstream_name itsdangerous
|
%global upstream_name itsdangerous
|
||||||
|
|
||||||
%if 0%{?fedora} || 0%{?rhel} > 7
|
|
||||||
%bcond_without python3
|
|
||||||
%else
|
|
||||||
%bcond_with python3
|
|
||||||
%endif
|
|
||||||
|
|
||||||
Name: python-%{upstream_name}
|
Name: python-%{upstream_name}
|
||||||
Version: 0.24
|
Version: 0.24
|
||||||
Release: 18%{?dist}
|
Release: 19%{?dist}
|
||||||
Summary: Python library for passing trusted data to untrusted environments
|
Summary: Python library for passing trusted data to untrusted environments
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://pythonhosted.org/itsdangerous/
|
URL: http://pythonhosted.org/itsdangerous/
|
||||||
@ -24,22 +19,6 @@ Internally itsdangerous uses HMAC and SHA1 for signing by default and bases the
|
|||||||
implementation on the Django signing module. It also however supports JSON Web
|
implementation on the Django signing module. It also however supports JSON Web
|
||||||
Signatures (JWS).
|
Signatures (JWS).
|
||||||
|
|
||||||
%package -n python2-%{upstream_name}
|
|
||||||
Summary: Python 2 library for passing trusted data to untrusted environments
|
|
||||||
%{?python_provide:%python_provide python2-%{upstream_name}}
|
|
||||||
BuildRequires: python2-devel
|
|
||||||
BuildRequires: python2-setuptools
|
|
||||||
|
|
||||||
%description -n python2-%{upstream_name}
|
|
||||||
Itsdangerous is a Python library for passing data through untrusted
|
|
||||||
environments (for example, HTTP cookies) while ensuring the data is not
|
|
||||||
tampered with.
|
|
||||||
|
|
||||||
Internally itsdangerous uses HMAC and SHA1 for signing by default and bases the
|
|
||||||
implementation on the Django signing module. It also however supports JSON Web
|
|
||||||
Signatures (JWS).
|
|
||||||
|
|
||||||
%if %{with python3}
|
|
||||||
%package -n python3-%{upstream_name}
|
%package -n python3-%{upstream_name}
|
||||||
Summary: Python 3 library for passing trusted data to untrusted environments
|
Summary: Python 3 library for passing trusted data to untrusted environments
|
||||||
%{?python_provide:%python_provide python3-%{upstream_name}}
|
%{?python_provide:%python_provide python3-%{upstream_name}}
|
||||||
@ -54,46 +33,32 @@ tampered with.
|
|||||||
Internally itsdangerous uses HMAC and SHA1 for signing by default and bases the
|
Internally itsdangerous uses HMAC and SHA1 for signing by default and bases the
|
||||||
implementation on the Django signing module. It also however supports JSON Web
|
implementation on the Django signing module. It also however supports JSON Web
|
||||||
Signatures (JWS).
|
Signatures (JWS).
|
||||||
%endif
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{upstream_name}-%{version}
|
%setup -q -n %{upstream_name}-%{version}
|
||||||
rm -r *.egg-info
|
rm -r *.egg-info
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py2_build
|
|
||||||
%if %{with python3}
|
|
||||||
%py3_build
|
%py3_build
|
||||||
%endif
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py2_install
|
|
||||||
%if %{with python3}
|
|
||||||
%py3_install
|
%py3_install
|
||||||
%endif
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
PYTHONPATH=%{buildroot}%{python2_sitelib} %{__python2} tests.py
|
|
||||||
%if %{with python3}
|
|
||||||
PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} tests.py
|
PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} tests.py
|
||||||
%endif
|
|
||||||
|
|
||||||
%files -n python2-%{upstream_name}
|
|
||||||
%license LICENSE
|
|
||||||
%doc CHANGES README
|
|
||||||
%{python2_sitelib}/%{upstream_name}.py*
|
|
||||||
%{python2_sitelib}/%{upstream_name}*.egg-info
|
|
||||||
|
|
||||||
%if %{with python3}
|
|
||||||
%files -n python3-%{upstream_name}
|
%files -n python3-%{upstream_name}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc CHANGES README
|
%doc CHANGES README
|
||||||
%{python3_sitelib}/%{upstream_name}.py
|
%{python3_sitelib}/%{upstream_name}.py
|
||||||
%{python3_sitelib}/%{upstream_name}*.egg-info
|
%{python3_sitelib}/%{upstream_name}*.egg-info
|
||||||
%{python3_sitelib}/__pycache__/%{upstream_name}*
|
%{python3_sitelib}/__pycache__/%{upstream_name}*
|
||||||
%endif
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Sep 24 2019 Miro Hrončok <mhroncok@redhat.com> - 0.24-19
|
||||||
|
- Subpackage python2-itsdangerous has been removed
|
||||||
|
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
||||||
|
|
||||||
* Thu Aug 15 2019 Miro Hrončok <mhroncok@redhat.com> - 0.24-18
|
* Thu Aug 15 2019 Miro Hrončok <mhroncok@redhat.com> - 0.24-18
|
||||||
- Rebuilt for Python 3.8
|
- Rebuilt for Python 3.8
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user