Upstream release 0.4.1
This commit is contained in:
parent
95f26030ab
commit
e4e02db4f6
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,3 +3,4 @@
|
||||
/jwcrypto-0.3.0.tar.gz
|
||||
/jwcrypto-0.3.1.tar.gz
|
||||
/jwcrypto-0.3.2.tar.gz
|
||||
/jwcrypto-0.4.1.tar.gz
|
||||
|
@ -1 +0,0 @@
|
||||
3a66407a8bb590f8fdd02d87a9c2991118c7a332e4210f08e6af2b38b813ec2bc30afbcea75270d1ee0f70d0fff29fe98731270a8a457b2ca87e576ebe3046e9 jwcrypto-0.3.2.tar.gz
|
@ -5,27 +5,26 @@
|
||||
%define module_name jwcrypto
|
||||
|
||||
Name: python-jwcrypto
|
||||
Version: 0.3.2
|
||||
Release: 3%{?dist}
|
||||
Version: 0.4.1
|
||||
Release: 1%{?dist}
|
||||
Summary: Implements JWK,JWS,JWE specifications using python-cryptography
|
||||
|
||||
License: LGPLv3+
|
||||
URL: https://github.com/simo5/%{module_name}
|
||||
Source0: https://github.com/simo5/%{module_name}/releases/download/v%{version}/jwcrypto-%{version}.tar.gz
|
||||
Source1: https://github.com/simo5/%{module_name}/releases/download/v%{version}/jwcrypto-%{version}.tar.gz.sha512sum.txt
|
||||
URL: https://github.com/latchset/%{module_name}
|
||||
Source0: https://github.com/latchset/%{module_name}/releases/download/v%{version}/%{module_name}-%{version}.tar.gz
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-setuptools
|
||||
BuildRequires: python-cryptography
|
||||
BuildRequires: python-nose
|
||||
Requires: python-cryptography
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: python2-setuptools
|
||||
BuildRequires: python2-cryptography
|
||||
BuildRequires: python2-pytest
|
||||
Requires: python2-cryptography
|
||||
|
||||
%if 0%{?with_python3}
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-cryptography
|
||||
BuildRequires: python3-nose
|
||||
BuildRequires: python3-pytest
|
||||
%endif
|
||||
|
||||
%description
|
||||
@ -41,7 +40,6 @@ Implements JWK,JWS,JWE specifications using python3-cryptography
|
||||
%endif
|
||||
|
||||
%prep
|
||||
grep `sha512sum %{SOURCE0}` %{SOURCE1} || (echo "Checksum invalid!" && exit 1)
|
||||
%setup -q -n %{module_name}-%{version}
|
||||
|
||||
|
||||
@ -53,7 +51,10 @@ grep `sha512sum %{SOURCE0}` %{SOURCE1} || (echo "Checksum invalid!" && exit 1)
|
||||
|
||||
|
||||
%check
|
||||
nosetests
|
||||
pytest-2 jwcrypto/test*.py
|
||||
%if 0%{?with_python3}
|
||||
pytest-3 jwcrypto/test*.py
|
||||
%endif
|
||||
|
||||
|
||||
%install
|
||||
@ -83,6 +84,9 @@ rm -rf %{buildroot}%{python3_sitelib}/%{module_name}/__pycache__/tests{,-cookboo
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Jul 24 2017 Christian Heimes <cheimes@redhat.com> - 0.4.1-1
|
||||
- Upstream release 0.4.1
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user