|
|
7b51ac |
%global srcname itsdangerous
|
|
|
7b51ac |
|
|
|
7b51ac |
Name: python-%{srcname}
|
|
|
7b51ac |
Version: 1.1.0
|
|
|
7b51ac |
Release: 4%{?dist}
|
|
|
3b3131 |
Summary: Python library for passing trusted data to untrusted environments
|
|
|
3b3131 |
License: BSD
|
|
|
7b51ac |
URL: https://itsdangerous.palletsprojects.com
|
|
|
7b51ac |
Source0: %{pypi_source}
|
|
|
3b3131 |
BuildArch: noarch
|
|
|
3b3131 |
|
|
|
7b51ac |
%global _description %{expand:
|
|
|
7b51ac |
Itsdangerous is a Python library for passing data through untrusted
|
|
|
7b51ac |
environments (for example, HTTP cookies) while ensuring the data is not
|
|
|
3b3131 |
tampered with.
|
|
|
3b3131 |
|
|
|
3b3131 |
Internally itsdangerous uses HMAC and SHA1 for signing by default and bases the
|
|
|
7b51ac |
implementation on the Django signing module. It also however supports JSON Web
|
|
|
7b51ac |
Signatures (JWS).}
|
|
|
3b3131 |
|
|
|
7b51ac |
%description %{_description}
|
|
|
7b51ac |
|
|
|
7b51ac |
%package -n python3-%{srcname}
|
|
|
7b51ac |
Summary: %{summary}
|
|
|
3b3131 |
BuildRequires: python3-devel
|
|
|
7b51ac |
BuildRequires: python3dist(setuptools)
|
|
|
7b51ac |
BuildRequires: python3dist(pytest)
|
|
|
7b51ac |
BuildRequires: python3dist(freezegun)
|
|
|
3b3131 |
|
|
|
7b51ac |
%description -n python3-%{srcname} %{_description}
|
|
|
3b3131 |
|
|
|
7b51ac |
Python 3 version.
|
|
|
3b3131 |
|
|
|
3b3131 |
%prep
|
|
|
7b51ac |
%autosetup -n %{srcname}-%{version}
|
|
|
7b51ac |
rm -vr src/*.egg-info
|
|
|
3b3131 |
|
|
|
3b3131 |
%build
|
|
|
3b3131 |
%py3_build
|
|
|
3b3131 |
|
|
|
3b3131 |
%install
|
|
|
3b3131 |
%py3_install
|
|
|
3b3131 |
|
|
|
3b3131 |
%check
|
|
|
7b51ac |
PYTHONPATH=%{buildroot}%{python3_sitelib} %python3 -m pytest -v
|
|
|
7b51ac |
|
|
|
7b51ac |
%files -n python3-%{srcname}
|
|
|
7b51ac |
%license LICENSE.rst
|
|
|
7b51ac |
%doc CHANGES.rst README.rst
|
|
|
7b51ac |
%{python3_sitelib}/%{srcname}-*.egg-info/
|
|
|
7b51ac |
%{python3_sitelib}/%{srcname}/
|
|
|
3b3131 |
|
|
|
3b3131 |
%changelog
|
|
|
7b51ac |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-4
|
|
|
7b51ac |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
7b51ac |
|
|
|
7b51ac |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-3
|
|
|
7b51ac |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
7b51ac |
|
|
|
7b51ac |
* Fri May 22 2020 Miro Hron훾ok <mhroncok@redhat.com> - 1.1.0-2
|
|
|
7b51ac |
- Rebuilt for Python 3.9
|
|
|
7b51ac |
|
|
|
7b51ac |
* Thu Apr 16 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 1.1.0-1
|
|
|
7b51ac |
- Update to 1.1.0
|
|
|
7b51ac |
|
|
|
7b51ac |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.24-20
|
|
|
7b51ac |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
7b51ac |
|
|
|
7b51ac |
* Tue Sep 24 2019 Miro Hron훾ok <mhroncok@redhat.com> - 0.24-19
|
|
|
7b51ac |
- Subpackage python2-itsdangerous has been removed
|
|
|
7b51ac |
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
|
7b51ac |
|
|
|
7b51ac |
* Thu Aug 15 2019 Miro Hron훾ok <mhroncok@redhat.com> - 0.24-18
|
|
|
7b51ac |
- Rebuilt for Python 3.8
|
|
|
7b51ac |
|
|
|
7b51ac |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.24-17
|
|
|
7b51ac |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
7b51ac |
|
|
|
7b51ac |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.24-16
|
|
|
7b51ac |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
7b51ac |
|
|
|
7b51ac |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.24-15
|
|
|
7b51ac |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
7b51ac |
|
|
|
7b51ac |
* Fri Jun 15 2018 Miro Hron훾ok <mhroncok@redhat.com> - 0.24-14
|
|
|
7b51ac |
- Rebuilt for Python 3.7
|
|
|
3b3131 |
|
|
|
3b3131 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.24-13
|
|
|
3b3131 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
3b3131 |
|
|
|
3b3131 |
* Fri Sep 29 2017 Troy Dawson <tdawson@redhat.com> - 0.24-12
|
|
|
3b3131 |
- Cleanup spec file conditionals
|
|
|
3b3131 |
|
|
|
3b3131 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.24-11
|
|
|
3b3131 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
3b3131 |
|
|
|
3b3131 |
* Fri Jun 23 2017 Dan Callaghan <dcallagh@redhat.com> - 0.24-10
|
|
|
3b3131 |
- renamed python-itsdangerous to python2-itsdangerous
|
|
|
3b3131 |
|
|
|
3b3131 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.24-9
|
|
|
3b3131 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
3b3131 |
|
|
|
3b3131 |
* Fri Dec 09 2016 Charalampos Stratakis <cstratak@redhat.com> - 0.24-8
|
|
|
3b3131 |
- Rebuild for Python 3.6
|
|
|
3b3131 |
|
|
|
3b3131 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.24-7
|
|
|
3b3131 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
3b3131 |
|
|
|
3b3131 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.24-6
|
|
|
3b3131 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
3b3131 |
|
|
|
3b3131 |
* Wed Oct 14 2015 Robert Kuska <rkuska@redhat.com> - 0.24-5
|
|
|
3b3131 |
- Rebuilt for Python3.5 rebuild
|
|
|
3b3131 |
|
|
|
3b3131 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.24-4
|
|
|
3b3131 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
3b3131 |
|
|
|
3b3131 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.24-3
|
|
|
3b3131 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
3b3131 |
|
|
|
3b3131 |
* Tue May 13 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 0.24-2
|
|
|
3b3131 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
|
|
|
3b3131 |
|
|
|
3b3131 |
* Mon Mar 31 2014 Dan Callaghan <dcallagh@redhat.com> - 0.24-1
|
|
|
3b3131 |
- new upstream release 0.24
|
|
|
3b3131 |
|
|
|
3b3131 |
* Thu Aug 15 2013 Dan Callaghan <dcallagh@redhat.com> - 0.23-1
|
|
|
3b3131 |
- new upstream release 0.23 (no code changes, only packaging fixes)
|
|
|
3b3131 |
|
|
|
3b3131 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-2
|
|
|
3b3131 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
3b3131 |
|
|
|
3b3131 |
* Tue Jul 09 2013 Dan Callaghan <dcallagh@redhat.com> - 0.22-1
|
|
|
3b3131 |
- new upstream release 0.22
|
|
|
3b3131 |
|
|
|
3b3131 |
* Tue Jun 18 2013 Dan Callaghan <dcallagh@redhat.com> - 0.21-3
|
|
|
3b3131 |
- disable Python 3 subpackage on Fedora 17
|
|
|
3b3131 |
|
|
|
3b3131 |
* Mon Jun 17 2013 Dan Callaghan <dcallagh@redhat.com> - 0.21-2
|
|
|
3b3131 |
- $RPM_BUILD_ROOT -> %%{buildroot}
|
|
|
3b3131 |
|
|
|
3b3131 |
* Fri Jun 14 2013 Dan Callaghan <dcallagh@redhat.com> - 0.21-1
|
|
|
3b3131 |
- updated to upstream release 0.21
|
|
|
3b3131 |
- added Python 3 subpackage
|
|
|
3b3131 |
|
|
|
3b3131 |
* Wed Nov 16 2011 Dan Callaghan <dcallagh@redhat.com> - 0.11-1
|
|
|
3b3131 |
- initial version
|