From edddec50b671ba8c23e1fb5695d891c82ba519c9 Mon Sep 17 00:00:00 2001 From: Matus Honek Date: Mar 05 2020 13:05:27 +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: ??? (cherry picked from commit 6fd09c431c9c4e3f2a9a288daa0ec8d7c820e2c0) --- diff --git a/rpm/389-ds-base.spec.in b/rpm/389-ds-base.spec.in index a235396..b834119 100644 --- a/rpm/389-ds-base.spec.in +++ b/rpm/389-ds-base.spec.in @@ -304,7 +304,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