diff --git a/python-yubico.spec b/python-yubico.spec index 90f6767..fe76e8e 100644 --- a/python-yubico.spec +++ b/python-yubico.spec @@ -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 - 1.2.3-1 - Upstream 1.2.3 +- Require pyusb during building when running tests * Mon Jun 23 2014 Nathaniel McCallum - 1.2.1-3 - Enable build on EL6.