forked from pool/python-PyJWT
Accepting request 321601 from home:seife:OpenStack:Master
fix build on RHEL7, add PyJWT-1.1.0.diff OBS-URL: https://build.opensuse.org/request/show/321601 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyJWT?expand=0&rev=9
This commit is contained in:
committed by
Git OBS Bridge
parent
f8b165fc3d
commit
fde70f5c85
@@ -24,6 +24,8 @@ Summary: JSON Web Token implementation in Python
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Source: http://pypi.python.org/packages/source/P/PyJWT/PyJWT-%{version}.tar.gz
|
||||
# PATCH-FIX-CENTOS PyJWT-1.1.0.diff -- without this, the centos build %%check will try to download stuff from pypi --seife
|
||||
Patch1: PyJWT-1.1.0.diff
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-cryptography
|
||||
BuildRequires: python-devel
|
||||
@@ -44,6 +46,9 @@ A Python implementation of JSON Web Token draft 01.
|
||||
|
||||
%prep
|
||||
%setup -q -n PyJWT-%{version}
|
||||
%if 0%{?rhel}
|
||||
%patch1 -p1
|
||||
%endif
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
|
Reference in New Issue
Block a user