Don't 'Provides:npm' on non-default
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
This commit is contained in:
parent
4443d6afb2
commit
92480e0459
@ -428,10 +428,11 @@ Recommends: %{pkgname}-docs = %{nodejs_envr}
|
||||
# the automatic dependency-generation script.
|
||||
Provides: npm(npm) = %{npm_version}
|
||||
|
||||
|
||||
%if 0%{?nodejs_default}
|
||||
# Satisfy dependency requests for "npm"
|
||||
Provides: npm = %{npm_envr}
|
||||
|
||||
%if 0%{?nodejs_default}
|
||||
# Obsolete the old 'npm' package
|
||||
Obsoletes: npm < 1:9
|
||||
%endif
|
||||
|
Loading…
Reference in New Issue
Block a user