diff --git a/python-argcomplete.spec b/python-argcomplete.spec index 0b7781f..2d71126 100644 --- a/python-argcomplete.spec +++ b/python-argcomplete.spec @@ -60,6 +60,11 @@ install -p -m0644 %{buildroot}%{python3_sitelib}/argcomplete/bash_completion.d/p %if %{with check} %check +# workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1914782 +# upstream: https://github.com/kislyuk/argcomplete/issues/337 +echo "set enable-bracketed-paste off" > .inputrc +export INPUTRC=$PWD/.inputrc + %{python3} setup.py test %endif