Upstream release 0.4.1

This commit is contained in:
Christian Heimes 2017-07-24 11:30:15 +02:00
parent 95f26030ab
commit e4e02db4f6
4 changed files with 19 additions and 15 deletions

1
.gitignore vendored
View File

@ -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

View File

@ -1 +0,0 @@
3a66407a8bb590f8fdd02d87a9c2991118c7a332e4210f08e6af2b38b813ec2bc30afbcea75270d1ee0f70d0fff29fe98731270a8a457b2ca87e576ebe3046e9 jwcrypto-0.3.2.tar.gz

View File

@ -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

View File

@ -1 +1 @@
b171735481fa5103ca237a6ad4dceb47 jwcrypto-0.3.2.tar.gz
SHA512 (jwcrypto-0.4.1.tar.gz) = 7059492cecb9fd722eaa947f29db3c190a627ae8f90f45f2c1e7feca312bd8951c3279f4c8d88a29a41240f75db42e8fc11055d075b920e70a1c13060c275e93