Use requires instead of conflicts for -docs

Conflicts causes issues with parallel-installation of non-default
Node.js versions.

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
This commit is contained in:
Stephen Gallagher 2022-12-01 13:12:07 -05:00
parent e518e262b3
commit 2851ac84ca
No known key found for this signature in database
GPG Key ID: 45DB85A568286D11

View File

@ -441,12 +441,7 @@ your node programs. It manages dependencies and does other cool stuff.
Summary: Node.js API documentation Summary: Node.js API documentation
Group: Documentation Group: Documentation
BuildArch: noarch BuildArch: noarch
Requires(meta): %{pkgname} = %{nodejs_envr}
# We don't require that the main package be installed to
# use the docs, but if it is installed, make sure the
# version always matches
Conflicts: %{pkgname} > %{nodejs_envr}
Conflicts: %{pkgname} < %{nodejs_envr}
Provides: nodejs-docs = %{nodejs_envr} Provides: nodejs-docs = %{nodejs_envr}