[python-yubico] Require pyusb during building when running tests

Nathaniel McCallum npmccallum at fedoraproject.org
Mon Mar 23 13:58:10 UTC 2015


commit 97e2566abd1dd2423f5486b7938192481940ed61
Author: Nathaniel McCallum <nathaniel at themccallums.org>
Date:   Mon Mar 23 09:58:01 2015 -0400

    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 <npmccallum at redhat.com> - 1.2.3-1
 - Upstream 1.2.3
+- Require pyusb during building when running tests
 
 * Mon Jun 23 2014 Nathaniel McCallum <npmccallum at redhat.com> - 1.2.1-3
 - Enable build on EL6.


More information about the scm-commits mailing list