commit missing pieces
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
af6af413a0
commit
9553466b63
@ -1,6 +1,7 @@
|
||||
%global modname argcomplete
|
||||
|
||||
%bcond_without check
|
||||
# https://github.com/kislyuk/argcomplete/issues/256
|
||||
%bcond_with check
|
||||
|
||||
Name: python-%{modname}
|
||||
Summary: Bash tab completion for argparse
|
||||
@ -51,7 +52,9 @@ Python 3 version.
|
||||
%autosetup -n %{modname}-%{version}
|
||||
# Remove useless BRs
|
||||
sed -i -r -e '/tests_require = /s/"(coverage|flake8|wheel)"[, ]*//g' setup.py
|
||||
sed -i -e "1s|#!.*|#!%{__python3}|" tests/prog
|
||||
sed -i -e "1s|#!.*python.*|#!%{__python3}|" test/prog scripts/*
|
||||
# https://github.com/kislyuk/argcomplete/issues/255
|
||||
sed -i -e "s|python |%{__python3} |" test/test.py
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
|
Loading…
Reference in New Issue
Block a user