Drop version constraints from Recommends
This makes it easier for the package manager to determine "already broken" weak dependency. When Python is updated, the Recommends now remain identical, rather than being "new". Note that I don't know if dnf currently treats weak dependencies this way, but the assumption is that it *might*. The reverse dependency is versioned anyway, so the constraint is not necessary. Intentionally not bumping the release, this can land with the next update.
This commit is contained in:
parent
594724cb65
commit
524afa95d3
1 changed files with 2 additions and 2 deletions
|
|
@ -513,12 +513,12 @@ Provides: bundled(mimalloc) = 2.12
|
|||
# We've filtered the automatic requirement out so libs are installable without
|
||||
# the main package. This however makes it pulled in by default.
|
||||
# See https://bugzilla.redhat.com/show_bug.cgi?id=1547131
|
||||
Recommends: %{pkgname}%{?_isa} = %{version}-%{release}
|
||||
Recommends: %{pkgname}%{?_isa}
|
||||
|
||||
# tkinter is part of the standard library,
|
||||
# but it is torn out to save an unwanted dependency on tk and X11.
|
||||
# we recommend it when tk is already installed (for better UX)
|
||||
Recommends: (%{pkgname}-tkinter%{?_isa} = %{version}-%{release} if tk%{?_isa})
|
||||
Recommends: (%{pkgname}-tkinter%{?_isa} if tk%{?_isa})
|
||||
|
||||
# The zoneinfo module needs tzdata
|
||||
Requires: tzdata
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue