]> git.pld-linux.org Git - packages/python-u2flib-host.git/commitdiff
- tests require hidapi too auto/th/python-u2flib-host-3.0.2-1
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 22 May 2018 03:35:26 +0000 (05:35 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Tue, 22 May 2018 03:35:26 +0000 (05:35 +0200)
python-u2flib-host.spec

index 92506a474519f6b2beb2ee3814000102c68869b5..9778b5bf7101de02003e593facf6fa56116d144e 100644 (file)
@@ -20,12 +20,18 @@ BuildRequires:      rpmbuild(macros) >= 1.714
 %if %{with python2}
 BuildRequires: python-modules >= 1:2.7
 BuildRequires: python-setuptools
-%{?with_tests:BuildRequires:   python-cryptography >= 1.0}
+%if %{with tests}
+BuildRequires: python-cryptography >= 1.0
+BuildRequires: python-hidapi >= 0.7.99
+%endif
 %endif
 %if %{with python3}
 BuildRequires: python3-modules >= 1:3.3
 BuildRequires: python3-setuptools
-%{?with_tests:BuildRequires:   python3-cryptography >= 1.0}
+%if %{with tests}
+BuildRequires: python3-cryptography >= 1.0
+BuildRequires: python3-hidapi >= 0.7.99
+%endif
 %endif
 Requires:      python-hidapi >= 0.7.99
 Requires:      python-modules >= 1:2.7
This page took 0.53067 seconds and 4 git commands to generate.