diff --git a/PyJWT-0.3.0.tar.gz b/PyJWT-0.3.0.tar.gz deleted file mode 100644 index 90ec572..0000000 --- a/PyJWT-0.3.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:040ce47ef091e7030ec9490633e0c3c768ab9bc4e820477f2edd5736bb87a347 -size 8070 diff --git a/PyJWT-1.1.0.tar.gz b/PyJWT-1.1.0.tar.gz new file mode 100644 index 0000000..761efbe --- /dev/null +++ b/PyJWT-1.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:206f1824feefcdb132dc121ef9b3d036cd2162d602eab84f0f36f91facf86373 +size 40283 diff --git a/python-PyJWT.changes b/python-PyJWT.changes index ced31fb..720d102 100644 --- a/python-PyJWT.changes +++ b/python-PyJWT.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +Wed Apr 22 14:01:31 UTC 2015 - mcihar@suse.cz + +- Include pycrypto and ecdsa in BuildRequires for complete test coverage +- Use setup.py test to execute testsuite + +------------------------------------------------------------------- +Wed Apr 22 11:14:42 UTC 2015 - mcihar@suse.cz + +- Simplify dependencies (only python-cryptography is needed, pycrypto and ecdsa + are just fallbacks whet is is not) + +------------------------------------------------------------------- +Mon Apr 20 11:56:59 UTC 2015 - mcihar@suse.cz + +- Enable testsuite during build + +------------------------------------------------------------------- +Mon Apr 20 11:55:52 UTC 2015 - mcihar@suse.cz + +- Update to 1.1.0 + ------------------------------------------------------------------- Thu Nov 6 09:08:37 UTC 2014 - mcihar@suse.cz diff --git a/python-PyJWT.spec b/python-PyJWT.spec index 5372b95..d720373 100644 --- a/python-PyJWT.spec +++ b/python-PyJWT.spec @@ -1,7 +1,7 @@ # # spec file for package python-PyJWT # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: python-PyJWT -Version: 0.3.0 +Version: 1.1.0 Release: 0 Url: https://github.com/progrium/pyjwt Summary: JSON Web Token implementation in Python @@ -25,10 +25,14 @@ 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 @@ -47,6 +51,9 @@ python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%check +python setup.py test + %files %defattr(-,root,root,-) %doc README.md