diff --git a/djangorestframework_simplejwt-4.1.3.tar.gz b/djangorestframework_simplejwt-4.1.3.tar.gz deleted file mode 100644 index c8539cc..0000000 --- a/djangorestframework_simplejwt-4.1.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b8c9e7b2099745c7778fdeae8f5fbbf08417e2376facab62201b303e6895b09b -size 36916 diff --git a/djangorestframework_simplejwt-4.3.0.tar.gz b/djangorestframework_simplejwt-4.3.0.tar.gz new file mode 100644 index 0000000..fb208e8 --- /dev/null +++ b/djangorestframework_simplejwt-4.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b35c5456eadb85c0fc7567b6deaa7f6fb894877a3c50f617e605c0f24613d6a2 +size 37437 diff --git a/python-djangorestframework-simplejwt.changes b/python-djangorestframework-simplejwt.changes index 8f2b754..5f14218 100644 --- a/python-djangorestframework-simplejwt.changes +++ b/python-djangorestframework-simplejwt.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Fri Sep 13 08:46:31 UTC 2019 - Tomáš Chvátal + +- Update to 4.3.0: + * Added JTI_CLAIM setting to allow storing token identifiers under a different claim. + * We now return HTTP 401 for user not found or inactive. + * Restricted setup.py config to Python 3 only. + * Included translation files in release package. + ------------------------------------------------------------------- Tue Apr 9 02:39:36 PM UTC 2019 - John Vandenberg diff --git a/python-djangorestframework-simplejwt.spec b/python-djangorestframework-simplejwt.spec index d57f832..79e1a16 100644 --- a/python-djangorestframework-simplejwt.spec +++ b/python-djangorestframework-simplejwt.spec @@ -12,31 +12,31 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-djangorestframework-simplejwt -Version: 4.1.3 +Version: 4.3.0 Release: 0 -License: MIT Summary: JSON Web Token authentication for Django REST Framework -Url: https://github.com/davesque/django-rest-framework-simplejwt +License: MIT Group: Development/Languages/Python -Source: https://github.com/davesque/django-rest-framework-simplejwt/archive/v4.1.3.tar.gz#/djangorestframework_simplejwt-%{version}.tar.gz -BuildRequires: python-rpm-macros +URL: https://github.com/davesque/django-rest-framework-simplejwt +Source: https://github.com/davesque/django-rest-framework-simplejwt/archive/v%{version}.tar.gz#/djangorestframework_simplejwt-%{version}.tar.gz BuildRequires: %{python_module PyJWT} BuildRequires: %{python_module djangorestframework} BuildRequires: %{python_module pytest-django} BuildRequires: %{python_module python-jose} BuildRequires: %{python_module setuptools} BuildRequires: fdupes +BuildRequires: python-rpm-macros Requires: python-PyJWT Requires: python-djangorestframework Recommends: python-python-jose BuildArch: noarch - %python_subpackages %description @@ -56,7 +56,7 @@ export LANG=en_US.UTF-8 %check export LANG=en_US.UTF-8 -%python_exec -m pytest +%pytest %files %{python_files} %license LICENSE.txt licenses/*