From ec229f7d11c60094fa18dca0f058bd3f48869b0b Mon Sep 17 00:00:00 2001 From: Viktor Ashirov Date: Dec 09 2019 15:30:18 +0000 Subject: Issue 50758 - Need to enable CLI arg completion Bug Description: `activate-global-python-argcomplete` creates a file that belongs to another package. We shouldn't do that. Fix Description: Don't call `activate-global-python-argcomplete` as the completion is active by default when `python3-argcomplete` is installed on a system. Relates: https://pagure.io/389-ds-base/issue/50758 Reviewed by: mhonek, mreynolds (Thanks!) --- diff --git a/rpm/389-ds-base.spec.in b/rpm/389-ds-base.spec.in index ec635b3..481d349 100644 --- a/rpm/389-ds-base.spec.in +++ b/rpm/389-ds-base.spec.in @@ -468,9 +468,6 @@ if ! make DESTDIR="$RPM_BUILD_ROOT" check; then cat ./test-suite.log && false; f rm -rf $RPM_BUILD_ROOT %post -# activate arg completion for CLI tools -activate-global-python-argcomplete > /dev/null - if [ -n "$DEBUGPOSTTRANS" ] ; then output=$DEBUGPOSTTRANS output2=${DEBUGPOSTTRANS}.upgrade