From a2b4010ccad6027b2da525eef22c09e10a5b5b08 Mon Sep 17 00:00:00 2001 From: DistroBaker Date: Wed, 3 Feb 2021 17:30:27 +0000 Subject: [PATCH] Merged update from upstream sources This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/python-argcomplete.git#ae9ca821c71b5229dded6e0a0386d2f700d5abdf --- python-argcomplete.spec | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/python-argcomplete.spec b/python-argcomplete.spec index ae3c4f7..2d90fea 100644 --- a/python-argcomplete.spec +++ b/python-argcomplete.spec @@ -1,9 +1,14 @@ +# Disable check to avoid pulling unwanted package (fish) into RHEL 9 +%if 0%{?rhel} >= 9 && !0%{?epel} +%bcond_with check +%else %bcond_without check +%endif Name: python-argcomplete Summary: Bash tab completion for argparse Version: 1.12.0 -Release: 2%{?dist} +Release: 3%{?dist} License: ASL 2.0 URL: https://github.com/kislyuk/argcomplete Source0: %pypi_source argcomplete @@ -60,6 +65,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 @@ -75,6 +85,9 @@ install -p -m0644 %{buildroot}%{python3_sitelib}/argcomplete/bash_completion.d/p %{_sysconfdir}/bash_completion.d/python-argcomplete %changelog +* Wed Jan 27 2021 Fedora Release Engineering - 1.12.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Tue Jul 28 2020 Fedora Release Engineering - 1.12.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild