|
rdobuilder |
f5d5ab |
# what it's called on pypi
|
|
rdobuilder |
f5d5ab |
%global srcname PyJWT
|
|
rdobuilder |
f5d5ab |
# what it's imported as
|
|
rdobuilder |
f5d5ab |
%global libname jwt
|
|
rdobuilder |
f5d5ab |
# package name fragment
|
|
rdobuilder |
f5d5ab |
%global pkgname %{libname}
|
|
rdobuilder |
f5d5ab |
|
|
rdobuilder |
f5d5ab |
%global common_description %{expand:
|
|
rdobuilder |
f5d5ab |
A Python implementation of JSON Web Token draft 01. This library provides a
|
|
rdobuilder |
f5d5ab |
means of representing signed content using JSON data structures, including
|
|
rdobuilder |
f5d5ab |
claims to be transferred between two parties encoded as digitally signed and
|
|
rdobuilder |
f5d5ab |
encrypted JSON objects.}
|
|
rdobuilder |
f5d5ab |
|
|
rdobuilder |
f5d5ab |
|
|
rdobuilder |
f5d5ab |
Name: python-%{pkgname}
|
|
rdobuilder |
f5d5ab |
Version: 2.6.0
|
|
rdobuilder |
f5d5ab |
Release: 2%{?dist}
|
|
rdobuilder |
f5d5ab |
Summary: JSON Web Token implementation in Python
|
|
rdobuilder |
f5d5ab |
License: MIT
|
|
rdobuilder |
f5d5ab |
URL: https://github.com/jpadilla/pyjwt
|
|
rdobuilder |
f5d5ab |
Source: %pypi_source
|
|
rdobuilder |
f5d5ab |
BuildArch: noarch
|
|
rdobuilder |
f5d5ab |
|
|
rdobuilder |
f5d5ab |
|
|
rdobuilder |
f5d5ab |
%description %{common_description}
|
|
rdobuilder |
f5d5ab |
|
|
rdobuilder |
f5d5ab |
|
|
rdobuilder |
f5d5ab |
%package -n python3-%{pkgname}
|
|
|
296c02 |
Summary: %{summary}
|
|
rdobuilder |
f5d5ab |
BuildRequires: python3-devel
|
|
rdobuilder |
f5d5ab |
BuildRequires: pyproject-rpm-macros
|
|
rdobuilder |
f5d5ab |
Recommends: python3-%{pkgname}+crypto
|
|
rdobuilder |
f5d5ab |
|
|
rdobuilder |
f5d5ab |
|
|
rdobuilder |
f5d5ab |
%description -n python3-%{pkgname} %{common_description}
|
|
rdobuilder |
f5d5ab |
|
|
rdobuilder |
f5d5ab |
|
|
rdobuilder |
f5d5ab |
%pyproject_extras_subpkg -n python3-%{pkgname} crypto
|
|
|
296c02 |
|
|
|
296c02 |
|
|
|
296c02 |
%prep
|
|
rdobuilder |
f5d5ab |
%autosetup -n %{srcname}-%{version}
|
|
rdobuilder |
f5d5ab |
# remove coverage buildreq and relax pytest req
|
|
rdobuilder |
f5d5ab |
sed -e '/coverage/d' \
|
|
rdobuilder |
f5d5ab |
-e '/pytest/ s/,<7.0.0//' \
|
|
rdobuilder |
f5d5ab |
-i setup.cfg
|
|
rdobuilder |
f5d5ab |
|
|
rdobuilder |
f5d5ab |
|
|
rdobuilder |
f5d5ab |
%generate_buildrequires
|
|
rdobuilder |
f5d5ab |
%pyproject_buildrequires -x crypto,tests
|
|
rdobuilder |
f5d5ab |
|
|
|
296c02 |
|
|
|
296c02 |
%build
|
|
rdobuilder |
f5d5ab |
%pyproject_wheel
|
|
rdobuilder |
f5d5ab |
|
|
|
296c02 |
|
|
|
296c02 |
%install
|
|
rdobuilder |
f5d5ab |
%pyproject_install
|
|
rdobuilder |
f5d5ab |
%pyproject_save_files %{libname}
|
|
rdobuilder |
f5d5ab |
|
|
|
296c02 |
|
|
|
296c02 |
%check
|
|
rdobuilder |
f5d5ab |
%pytest -k 'not test_ec_to_jwk_with_invalid_curve'
|
|
rdobuilder |
f5d5ab |
|
|
rdobuilder |
f5d5ab |
|
|
rdobuilder |
f5d5ab |
%files -n python3-%{pkgname} -f %{pyproject_files}
|
|
rdobuilder |
f5d5ab |
%doc README.rst
|
|
|
296c02 |
|
|
|
296c02 |
|
|
|
296c02 |
%changelog
|
|
rdobuilder |
f5d5ab |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.0-2
|
|
rdobuilder |
f5d5ab |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
rdobuilder |
f5d5ab |
|
|
rdobuilder |
f5d5ab |
* Sat Jan 7 2023 Kevin Fenzi <kevin@scrye.com> - 2.6.0-1
|
|
rdobuilder |
f5d5ab |
- Update to 2.6.0. rhbz#2127626
|
|
rdobuilder |
f5d5ab |
|
|
rdobuilder |
f5d5ab |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.0-3
|
|
rdobuilder |
f5d5ab |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
rdobuilder |
f5d5ab |
|
|
rdobuilder |
f5d5ab |
* Tue Jun 14 2022 Python Maint <python-maint@redhat.com> - 2.4.0-2
|
|
rdobuilder |
f5d5ab |
- Rebuilt for Python 3.11
|
|
rdobuilder |
f5d5ab |
|
|
rdobuilder |
f5d5ab |
* Thu May 19 2022 Major Hayden <major@mhtx.net> - 2.4.0-1
|
|
rdobuilder |
f5d5ab |
- Update to 2.4.0 (#2085157)
|
|
rdobuilder |
f5d5ab |
- Fix CVE-2022-29217 (#2088546)
|
|
rdobuilder |
f5d5ab |
|
|
rdobuilder |
f5d5ab |
* Tue Apr 26 2022 Carl George <carl@george.computer> - 2.3.0-3
|
|
rdobuilder |
f5d5ab |
- Convert to pyproject macros
|
|
rdobuilder |
f5d5ab |
|
|
rdobuilder |
f5d5ab |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-2
|
|
rdobuilder |
f5d5ab |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
rdobuilder |
f5d5ab |
|
|
rdobuilder |
f5d5ab |
* Tue Oct 26 2021 Joel Capitao <jcapitao@redhat.com> - 2.3.0-1
|
|
rdobuilder |
f5d5ab |
- Update to 2.3.0 (rhbz#2011642)
|
|
rdobuilder |
f5d5ab |
|
|
rdobuilder |
f5d5ab |
* Sun Oct 03 2021 Kevin Fenzi <kevin@scrye.com> - 2.1.0-3
|
|
rdobuilder |
f5d5ab |
- Relax python-cryptography requirements ( rhbz#2010061 )
|
|
rdobuilder |
f5d5ab |
|
|
rdobuilder |
f5d5ab |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-2
|
|
rdobuilder |
f5d5ab |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
rdobuilder |
f5d5ab |
|
|
rdobuilder |
f5d5ab |
* Mon Jul 12 2021 Major Hayden <major@mhtx.net> - 2.1.0-1
|
|
rdobuilder |
f5d5ab |
- Update to 2.1.0
|
|
rdobuilder |
f5d5ab |
|
|
rdobuilder |
f5d5ab |
* Thu Jun 03 2021 Python Maint <python-maint@redhat.com> - 2.0.1-2
|
|
rdobuilder |
f5d5ab |
- Rebuilt for Python 3.10
|
|
rdobuilder |
f5d5ab |
|
|
rdobuilder |
f5d5ab |
* Mon Apr 26 2021 Jiri Popelka <jpopelka@redhat.com> - 2.0.1-1
|
|
rdobuilder |
f5d5ab |
- Update to 2.0.1
|
|
rdobuilder |
f5d5ab |
- CLI and Python 2 support dropped in 2.0.0
|
|
rdobuilder |
f5d5ab |
|
|
rdobuilder |
f5d5ab |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.1-11
|
|
rdobuilder |
f5d5ab |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
rdobuilder |
f5d5ab |
|
|
rdobuilder |
f5d5ab |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.1-10
|
|
rdobuilder |
f5d5ab |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
rdobuilder |
f5d5ab |
|
|
rdobuilder |
f5d5ab |
* Fri Jul 17 2020 Merlin Mathesius <mmathesi@redhat.com> - 1.7.1-9
|
|
rdobuilder |
f5d5ab |
- Minor conditional fix for ELN
|
|
rdobuilder |
f5d5ab |
|
|
rdobuilder |
f5d5ab |
* Fri Jul 10 2020 Miro Hrončok <mhroncok@redhat.com> - 1.7.1-9
|
|
rdobuilder |
f5d5ab |
- Add pyjwt[crypto] subpackage
|
|
rdobuilder |
f5d5ab |
|
|
rdobuilder |
f5d5ab |
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 1.7.1-8
|
|
rdobuilder |
f5d5ab |
- Rebuilt for Python 3.9
|
|
rdobuilder |
f5d5ab |
|
|
rdobuilder |
f5d5ab |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.1-7
|
|
rdobuilder |
f5d5ab |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
rdobuilder |
f5d5ab |
|
|
rdobuilder |
f5d5ab |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.7.1-6
|
|
rdobuilder |
f5d5ab |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
rdobuilder |
f5d5ab |
|
|
rdobuilder |
f5d5ab |
* Thu Aug 29 2019 Carl George <carl@george.computer> - 1.7.1-5
|
|
rdobuilder |
f5d5ab |
- Disable python2 subpackage on F32+ rhbz#1744643
|
|
rdobuilder |
f5d5ab |
|
|
rdobuilder |
f5d5ab |
* Fri Aug 16 2019 Miro Hrončok <mhroncok@redhat.com> - 1.7.1-4
|
|
rdobuilder |
f5d5ab |
- Rebuilt for Python 3.8
|
|
rdobuilder |
f5d5ab |
|
|
rdobuilder |
f5d5ab |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.1-3
|
|
rdobuilder |
f5d5ab |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
rdobuilder |
f5d5ab |
|
|
rdobuilder |
f5d5ab |
* Wed Mar 27 2019 Carl George <carl@george.computer> - 1.7.1-2
|
|
rdobuilder |
f5d5ab |
- Re-enable python2 subpackage since python-oauthlib still needs it
|
|
rdobuilder |
f5d5ab |
|
|
rdobuilder |
f5d5ab |
* Mon Mar 04 2019 Yatin Karel <ykarel@redhat.com> - 1.7.1-1
|
|
rdobuilder |
f5d5ab |
- Update to 1.7.1
|
|
rdobuilder |
f5d5ab |
|
|
rdobuilder |
f5d5ab |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.4-3
|
|
rdobuilder |
f5d5ab |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
rdobuilder |
f5d5ab |
|
|
rdobuilder |
f5d5ab |
* Sun Nov 04 2018 Carl George <carl@george.computer> - 1.6.4-2
|
|
rdobuilder |
f5d5ab |
- Disable python2 subpackage on F30+
|
|
rdobuilder |
f5d5ab |
- Don't share doc and license dir between subpackages, can cause upgrade issues
|
|
rdobuilder |
f5d5ab |
- Add patch1 to skip failing tests
|
|
rdobuilder |
f5d5ab |
|
|
rdobuilder |
f5d5ab |
* Wed Jul 25 2018 Pierre-Yves Chibon <pingou@pingoured.fr> - 1.6.4-1
|
|
rdobuilder |
f5d5ab |
- Update to 1.6.4
|
|
rdobuilder |
f5d5ab |
|
|
rdobuilder |
f5d5ab |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-3
|
|
rdobuilder |
f5d5ab |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
296c02 |
|
|
rdobuilder |
f5d5ab |
* Fri Jun 15 2018 Miro Hrončok <mhroncok@redhat.com> - 1.6.1-2
|
|
rdobuilder |
f5d5ab |
- Rebuilt for Python 3.7
|
|
|
296c02 |
|
|
|
296c02 |
* Thu Apr 05 2018 Carl George <carl@george.computer> - 1.6.1-1
|
|
|
296c02 |
- Latest upstream
|
|
|
296c02 |
- Add patch0 to remove pytest-{cov,runner} deps
|
|
|
296c02 |
- Share doc and license dir between subpackages
|
|
|
296c02 |
- Enable EPEL PY3 build
|
|
|
296c02 |
|
|
|
296c02 |
* Mon Feb 12 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.5.3-3
|
|
|
296c02 |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
296c02 |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
296c02 |
|
|
|
296c02 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.3-2
|
|
|
296c02 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
296c02 |
|
|
|
296c02 |
* Sat Sep 16 2017 Kevin Fenzi <kevin@scrye.com> - 1.5.3-1
|
|
|
296c02 |
- Update to 1.5.3. Fixes bug #1488693
|
|
|
296c02 |
- 1.5.1 fixed CVE-2017-11424 Fixes bug #1482529
|
|
|
296c02 |
|
|
|
296c02 |
* Mon Aug 14 2017 Troy Dawson <tdawson@redhat.com> - 1.5.2-3
|
|
|
296c02 |
- Fixup spec file conditionals
|
|
|
296c02 |
|
|
|
296c02 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-2
|
|
|
296c02 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
296c02 |
|
|
|
296c02 |
* Sat Jun 24 2017 Kevin Fenzi <kevin@scrye.com> - 1.5.2-1
|
|
|
296c02 |
- Update to 1.5.2. Fixes bug #1464286
|
|
|
296c02 |
|
|
|
296c02 |
* Sat May 27 2017 Kevin Fenzi <kevin@scrye.com> - 1.5.0-1
|
|
|
296c02 |
- Update to 1.5.0. Fixes bug #1443792
|
|
|
296c02 |
|
|
|
296c02 |
* Mon Apr 17 2017 Kevin Fenzi <kevin@scrye.com> - 1.4.2-4
|
|
|
296c02 |
- Modernize spec and make sure to provide python2-jwt
|
|
|
296c02 |
|
|
|
296c02 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-3
|
|
|
296c02 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
296c02 |
|
|
|
296c02 |
* Tue Dec 13 2016 Stratakis Charalampos <cstratak@redhat.com> - 1.4.2-2
|
|
|
296c02 |
- Rebuild for Python 3.6
|
|
|
296c02 |
|
|
|
296c02 |
* Mon Aug 15 2016 Kevin Fenzi <kevin@scrye.com> - 1.4.2-1
|
|
|
296c02 |
- Update to 1.4.2. Fixes bug #1356333
|
|
|
296c02 |
|
|
|
296c02 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-4
|
|
|
296c02 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
296c02 |
|
|
|
296c02 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-3
|
|
|
296c02 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
296c02 |
|
|
|
296c02 |
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-2
|
|
|
296c02 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
296c02 |
|
|
|
296c02 |
* Wed Sep 16 2015 Ralph Bean <rbean@redhat.com> - 1.4.0-1
|
|
|
296c02 |
- new version
|
|
|
296c02 |
|
|
|
296c02 |
* Wed Jun 17 2015 Ralph Bean <rbean@redhat.com> - 1.3.0-1
|
|
|
296c02 |
- new version
|
|
|
296c02 |
- start running the test suite.
|
|
|
296c02 |
|
|
|
296c02 |
* Fri Mar 27 2015 Ralph Bean <rbean@redhat.com> - 1.0.1-1
|
|
|
296c02 |
- new version
|
|
|
296c02 |
|
|
|
296c02 |
* Thu Mar 19 2015 Ralph Bean <rbean@redhat.com> - 1.0.0-1
|
|
|
296c02 |
- new version
|
|
|
296c02 |
|
|
|
296c02 |
* Fri Feb 20 2015 Ralph Bean <rbean@redhat.com> - 0.4.3-1
|
|
|
296c02 |
- Latest upstream.
|
|
|
296c02 |
- Expand the description as per review feedback.
|
|
|
296c02 |
- Add a comment about the test suite.
|
|
|
296c02 |
- Declare noarch.
|
|
|
296c02 |
- Declare _docdir_fmt
|
|
|
296c02 |
|
|
|
296c02 |
* Wed Feb 18 2015 Ralph Bean <rbean@redhat.com> - 0.4.2-1
|
|
|
296c02 |
- initial package for Fedora.
|