From 7aa2864c8ab3b14d3ca88e1fc857ed364f871ddb Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Tue, 17 May 2016 21:13:12 +0200 Subject: [PATCH] - tests require python*-discover --- python-secretstorage.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/python-secretstorage.spec b/python-secretstorage.spec index f18a44a..11cb7a3 100644 --- a/python-secretstorage.spec +++ b/python-secretstorage.spec @@ -22,6 +22,9 @@ BuildRequires: rpmbuild(macros) >= 1.714 %if %{with python2} BuildRequires: python-modules >= 1:2.7 BuildRequires: python-setuptools +%if %{with tests} +BuildRequires: python-discover +%endif %endif %if %{with python3} BuildRequires: python3-modules >= 1:3.2 @@ -29,6 +32,9 @@ BuildRequires: python3-setuptools %if %{with doc} BuildRequires: python3-Sphinx %endif +%if %{with tests} +BuildRequires: python3-discover +%endif %endif Requires: python-modules >= 1:2.7 BuildArch: noarch -- 2.43.0