From dc50678922d87d6d44ab898bf686e24f43bd4578 Mon Sep 17 00:00:00 2001
From: Kevin Fenzi <kevin(a)scrye.com>
Date: Sat, 27 May 2017 14:23:25 -0600
Subject: Update to 1.5.0. Fixes bug #1443792
---
.gitignore | 1 +
allow-newer-pytest.patch | 12 ------------
python-jwt.spec | 22 ++++++++++------------
sources | 2 +-
4 files changed, 12 insertions(+), 25 deletions(-)
delete mode 100644 allow-newer-pytest.patch
diff --git a/.gitignore b/.gitignore
index d8a4b90..e475319 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@
/PyJWT-1.3.0.tar.gz
/PyJWT-1.4.0.tar.gz
/PyJWT-1.4.2.tar.gz
+/1.5.0.tar.gz
diff --git a/allow-newer-pytest.patch b/allow-newer-pytest.patch
deleted file mode 100644
index b3dd221..0000000
--- a/allow-newer-pytest.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Nur PyJWT-1.4.2.orig/setup.py PyJWT-1.4.2/setup.py
---- PyJWT-1.4.2.orig/setup.py 2016-06-29 22:07:44.000000000 -0600
-+++ PyJWT-1.4.2/setup.py 2017-04-17 09:05:19.783324336 -0600
-@@ -30,7 +30,7 @@
- sys.exit()
-
- tests_require = [
-- 'pytest==2.7.3',
-+ 'pytest',
- 'pytest-cov',
- 'pytest-runner',
- ]
diff --git a/python-jwt.spec b/python-jwt.spec
index 35e3a00..e0af015 100644
--- a/python-jwt.spec
+++ b/python-jwt.spec
@@ -6,19 +6,14 @@
%global sum JSON Web Token implementation in Python
Name: python-jwt
-Version: 1.4.2
-Release: 4%{?dist}
+Version: 1.5.0
+Release: 1%{?dist}
Summary: %{sum}
Group: Development/Libraries
License: MIT
URL:
http://pypi.python.org/pypi/pyjwt
-Source0:
https://pypi.python.org/packages/source/P/PyJWT/PyJWT-%{version}.tar.gz
-#
-# Upstream hard coded a specific version of pytest to avoid a bug
-# However, that bug is long since fixed upstream
-#
-Patch0: allow-newer-pytest.patch
+Source0:
https://github.com/jpadilla/pyjwt/archive/%{version}.tar.gz
BuildArch: noarch
BuildRequires: python2-devel
@@ -70,7 +65,7 @@ encrypted JSON objects.
%endif
%prep
-%autosetup -n PyJWT-%{version}
+%autosetup -n pyjwt-%{version}
%build
%py2_build
@@ -91,21 +86,24 @@ encrypted JSON objects.
%endif
%files -n python2-jwt
-%doc README.md AUTHORS
+%doc README.rst AUTHORS
%license LICENSE
%{python2_sitelib}/%{srcname}/
%{python2_sitelib}/PyJWT-%{version}*
%if 0%{?with_python3}
%files -n python3-jwt
-%doc README.md AUTHORS
+%doc README.rst AUTHORS
%license LICENSE
%{python3_sitelib}/%{srcname}/
%{python3_sitelib}/PyJWT-%{version}*
-%{_bindir}/jwt
+%{_bindir}/pyjwt
%endif
%changelog
+* Sat May 27 2017 Kevin Fenzi <kevin(a)scrye.com> - 1.5.0-1
+- Update to 1.5.0. Fixes bug #1443792
+
* Mon Apr 17 2017 Kevin Fenzi <kevin(a)scrye.com> - 1.4.2-4
- Modernize spec and make sure to provide python2-jwt
diff --git a/sources b/sources
index 6de933a..e06be9c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-e08aa1ecc99269248bb02f888c166af1 PyJWT-1.4.2.tar.gz
+SHA512 (1.5.0.tar.gz) =
1b5c0d558605b755b95eb2c2d34f467756cae81c67a1f2b47096bf513f669d93d85f4a16fa11e5a3630525497e5c86e424a161d4d834aed1270549a1715c0672
--
cgit v1.1
https://src.fedoraproject.org/cgit/python-jwt.git/commit/?h=f26&id=dc...