From f2c8651ef9f071fa0a0691ef43935bb164e1515c62c45e369f374a049e813db8 Mon Sep 17 00:00:00 2001 From: Guillaume GARDET Date: Mon, 21 Nov 2022 15:13:37 +0000 Subject: [PATCH] Accepting request 1037129 from home:dimstar:Factory - Do not have the main package recommend the bash-completion sub-package, but rather have the subpackage supplement the combination of ldc and bash-completion. OBS-URL: https://build.opensuse.org/request/show/1037129 OBS-URL: https://build.opensuse.org/package/show/devel:languages:D/ldc?expand=0&rev=56 --- ldc.changes | 7 +++++++ ldc.spec | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ldc.changes b/ldc.changes index b4d3185..9d0dd62 100644 --- a/ldc.changes +++ b/ldc.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Nov 21 15:02:29 UTC 2022 - Dominique Leuenberger + +- Do not have the main package recommend the bash-completion + sub-package, but rather have the subpackage supplement the + combination of ldc and bash-completion. + ------------------------------------------------------------------- Fri Oct 7 14:51:48 UTC 2022 - Guillaume GARDET diff --git a/ldc.spec b/ldc.spec index f83c5cf..611b3f1 100644 --- a/ldc.spec +++ b/ldc.spec @@ -78,7 +78,6 @@ BuildRequires: zlib-devel BuildRequires: pkgconfig(bash-completion) # Should be installed, at least runtime Recommends: ldc-phobos-devel = %{version} -Recommends: %{name}-bash-completion Recommends: ldc-jit-devel = %{version} Recommends: ldc-runtime-devel = %{version} %if %{with ldc_bootstrap} @@ -162,7 +161,9 @@ with LDC. %package bash-completion Summary: LDC Bash completion +Requires: %{name} Requires: bash-completion +Supplements: (%{name} and bash-completion) %description bash-completion Optional dependency offering bash completion for ldc2