14
0
forked from pool/python-PyJWT

Accepting request 298558 from home:Nijel:branches:devel:languages:python

- Simplify dependencies (only python-cryptography is needed, pycrypto and ecdsa
  are just fallbacks whet is is not)

OBS-URL: https://build.opensuse.org/request/show/298558
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyJWT?expand=0&rev=6
This commit is contained in:
Michal Čihař
2015-04-22 11:28:20 +00:00
committed by Git OBS Bridge
parent e692e8fd72
commit 8bfb1d5bcc
2 changed files with 8 additions and 4 deletions

View File

@@ -25,14 +25,12 @@ License: MIT
Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/P/PyJWT/PyJWT-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-cryptography
BuildRequires: python-devel
BuildRequires: python-ecdsa
BuildRequires: python-pycrypto
BuildRequires: python-pytest
BuildRequires: python-pytest-cov
BuildRequires: python-setuptools
Requires: python-ecdsa
Requires: python-pycrypto
Requires: python-cryptography
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else