mirror of
https://src.fedoraproject.org/rpms/nodejs18.git
synced 2024-11-28 02:54:52 +00:00
Don't 'Provides: npm' on non-default
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
This commit is contained in:
parent
7000efe305
commit
0362f42fb0
2 changed files with 4 additions and 2 deletions
|
@ -417,10 +417,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
|
||||
|
|
|
@ -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 a new issue