Require pyusb during building when running tests

This commit is contained in:
Nathaniel McCallum 2015-03-23 09:58:01 -04:00
parent a604c2c1bb
commit 97e2566abd

View File

@ -17,6 +17,7 @@ BuildRequires: python2-devel
BuildRequires: python-setuptools
%if 0%{?rhel} == 0 || 0%{?rhel} >= 7
BuildRequires: python-nose
BuildRequires: pyusb
%endif
Requires: pyusb
@ -49,6 +50,7 @@ nosetests -e test_challenge_response -e test_serial -e test_status
%changelog
* Mon Mar 23 2015 Nathaniel McCallum <npmccallum@redhat.com> - 1.2.3-1
- Upstream 1.2.3
- Require pyusb during building when running tests
* Mon Jun 23 2014 Nathaniel McCallum <npmccallum@redhat.com> - 1.2.1-3
- Enable build on EL6.