This is an automated email from the git hooks/post-receive script.
mreynolds pushed a commit to branch 389-ds-base-1.4.1
in repository 389-ds-base.
The following commit(s) were added to refs/heads/389-ds-base-1.4.1 by this push:
new 34c8f85 Issue 50758 - Enable CLI arg completion
34c8f85 is described below
commit 34c8f85703af4683f64109c0b7a80c361a44f388
Author: Mark Reynolds <mreynolds(a)redhat.com>
AuthorDate: Tue Dec 3 11:17:06 2019 -0500
Issue 50758 - Enable CLI arg completion
Description: We need to make sure the bash_completion package is installed,
and that we call activate-global-python-argcomplete in %post
relates:
https://pagure.io/389-ds-base/issue/50758
Reviewed by: mhonek, and firstyear(Thanks!)
---
rpm/389-ds-base.spec.in | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/rpm/389-ds-base.spec.in b/rpm/389-ds-base.spec.in
index 7275041..aeb1152 100644
--- a/rpm/389-ds-base.spec.in
+++ b/rpm/389-ds-base.spec.in
@@ -304,6 +304,8 @@ Requires: python%{python3_pkgversion}-pyasn1-modules
Requires: python%{python3_pkgversion}-dateutil
Requires: python%{python3_pkgversion}-argcomplete
Requires: python%{python3_pkgversion}-libselinux
+Requires: python%{python3_pkgversion}-setuptools
+Requires: bash-completion
%{?python_provide:%python_provide python%{python3_pkgversion}-lib389}
%description -n python%{python3_pkgversion}-lib389
@@ -472,6 +474,9 @@ 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
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.