[packages/python-argcomplete] - fix bconds

baggins baggins at pld-linux.org
Sun Nov 3 10:08:07 CET 2019


commit 1e3cd944a173a080dbea8fc3a86b93f11dc693cc
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Nov 3 10:06:41 2019 +0100

    - fix bconds

 python-argcomplete.spec | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)
---
diff --git a/python-argcomplete.spec b/python-argcomplete.spec
index 0970040..557cd11 100644
--- a/python-argcomplete.spec
+++ b/python-argcomplete.spec
@@ -18,8 +18,16 @@ Source0:	https://github.com/kislyuk/argcomplete/archive/v%{version}/%{pypi_name}
 URL:		https://github.com/kislyuk/argcomplete
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.714
-%if %{with check}
+%if %{with python3}
+BuildRequires:	python3-devel
+BuildRequires:	python3-setuptools
+%endif
+%if %{with tests}
+BuildRequires:	bash
 BuildRequires:	tcsh
+%if %{with python3}
+BuildRequires:	python3-pexpect
+%endif
 %endif
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -41,11 +49,6 @@ resources over the network).
 %package -n python3-%{pypi_name}
 Summary:	%{summary}
 Group:		Libraries/Python
-BuildRequires:	python3-devel
-BuildRequires:	python3-setuptools
-%if %{with check}
-BuildRequires:	python3-pexpect
-%endif
 # pkg_resources module is used from python-argcomplete-check-easy-install-script
 Requires:	python3-setuptools
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-argcomplete.git/commitdiff/1e3cd944a173a080dbea8fc3a86b93f11dc693cc



More information about the pld-cvs-commit mailing list