]> git.pld-linux.org Git - packages/python-argcomplete.git/commitdiff
- fix bconds
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 3 Nov 2019 09:06:41 +0000 (10:06 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 3 Nov 2019 09:06:41 +0000 (10:06 +0100)
python-argcomplete.spec

index 09700406528e735ff3dd189bd9d4db05d874f705..557cd1144390c22cbd1063becda0c6500bc9c3f7 100644 (file)
@@ -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
 
This page took 0.038468 seconds and 4 git commands to generate.