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:
parent
e518e262b3
commit
2851ac84ca
@ -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}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user