From 6fd09c431c9c4e3f2a9a288daa0ec8d7c820e2c0 Mon Sep 17 00:00:00 2001 From: Matus Honek Date: Mar 04 2020 17:48:40 +0000 Subject: Issue 50758 - Only Recommend bash-completion, not Require Bug Description: bash-completion package is only useful for interactive use. E.g. in case of a container deployment this is unnecessary. Fix Description: Change Requires to Recommends, which allows the dnf/yum ran with install_weak_deps=False to not install this package; however, this option is by default True, therefore a regular installation will install the package. Relates https://pagure.io/389-ds-base/issue/50758 Author: Matus Honek Review by: ??? --- diff --git a/rpm/389-ds-base.spec.in b/rpm/389-ds-base.spec.in index 4f7a961..9a1d139 100644 --- a/rpm/389-ds-base.spec.in +++ b/rpm/389-ds-base.spec.in @@ -303,7 +303,7 @@ Requires: python%{python3_pkgversion}-dateutil Requires: python%{python3_pkgversion}-argcomplete Requires: python%{python3_pkgversion}-libselinux Requires: python%{python3_pkgversion}-setuptools -Requires: bash-completion +Recommends: bash-completion %{?python_provide:%python_provide python%{python3_pkgversion}-lib389} %description -n python%{python3_pkgversion}-lib389