From 97e2566abd1dd2423f5486b7938192481940ed61 Mon Sep 17 00:00:00 2001 From: Nathaniel McCallum Date: Mon, 23 Mar 2015 09:58:01 -0400 Subject: [PATCH] Require pyusb during building when running tests --- python-yubico.spec | 2 ++ 1 file changed, 2 insertions(+) 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.