Run upstream tests during build.
This commit is contained in:
parent
aa3e2efd83
commit
a4b75e3cbe
@ -1,6 +1,6 @@
|
|||||||
Name: python-yubico
|
Name: python-yubico
|
||||||
Version: 1.2.1
|
Version: 1.2.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Pure-python library for interacting with Yubikeys
|
Summary: Pure-python library for interacting with Yubikeys
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
@ -10,6 +10,7 @@ Source0: https://github.com/Yubico/python-yubico/archive/%{name}-%{versio
|
|||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: python2-devel
|
BuildRequires: python2-devel
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: python-setuptools
|
||||||
|
BuildRequires: python-nose
|
||||||
Requires: pyusb
|
Requires: pyusb
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -31,7 +32,13 @@ Pure-python library for interacting with Yubikeys
|
|||||||
%doc COPYING NEWS README
|
%doc COPYING NEWS README
|
||||||
%{python2_sitelib}/*
|
%{python2_sitelib}/*
|
||||||
|
|
||||||
|
%check
|
||||||
|
# Exclude tests that require a physical yubikey attached.
|
||||||
|
nosetests -e test_challenge_response -e test_serial -e test_status
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Jun 21 2014 Nathaniel McCallum <nathaniel@natemccallum.com> - 1.2.1-2
|
||||||
|
- Run upstream tests during build.
|
||||||
|
|
||||||
* Thu Jun 19 2014 Nathaniel McCallum <npmccallum@redhat.com> - 1.2.1-1
|
* Thu Jun 19 2014 Nathaniel McCallum <npmccallum@redhat.com> - 1.2.1-1
|
||||||
- Initial release.
|
- Initial release.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user