run tests

Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
This commit is contained in:
Igor Gnatenko 2017-01-26 23:04:44 +01:00
parent 1069c01597
commit 5f8ccbbffa

View File

@ -1,7 +1,7 @@
%global modname argcomplete %global modname argcomplete
# Currently it's broken: https://github.com/kislyuk/argcomplete/issues/174 # Currently it's broken: https://github.com/kislyuk/argcomplete/issues/174
%bcond_with check %bcond_without check
Name: python-%{modname} Name: python-%{modname}
Summary: Bash tab completion for argparse Summary: Bash tab completion for argparse
@ -63,6 +63,8 @@ Python 3 version.
%prep %prep
%autosetup -n %{modname}-%{version} %autosetup -n %{modname}-%{version}
# Remove useless BRs
sed -i -r -e '/tests_require = /s/"(coverage|flake8|wheel)"[, ]*//g' setup.py
%build %build
%py2_build %py2_build