mirror of
https://src.fedoraproject.org/rpms/nodejs18.git
synced 2024-11-24 09:42:43 +00:00
Fix NPM Obsoletes
The version of npm shipped by nodejs20 in the frozen F38 repo is higher than the version provided by the default nodejs18. This works around that. Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
This commit is contained in:
parent
14431056f7
commit
dfeab1ea3d
2 changed files with 6 additions and 2 deletions
|
@ -427,7 +427,9 @@ Provides: npm(npm) = %{npm_version}
|
|||
Provides: npm = %{npm_envr}
|
||||
|
||||
# Obsolete the old 'npm' package
|
||||
Obsoletes: npm < 1:9
|
||||
# Due to a mistake in the original F38 repository, this needs to explicitly
|
||||
# Obsoletes: the npm provided by nodejs20-npm
|
||||
Obsoletes: npm < 1:9.5.1-1.20
|
||||
%endif
|
||||
|
||||
|
||||
|
|
|
@ -435,7 +435,9 @@ Provides: npm(npm) = %{npm_version}
|
|||
Provides: npm = %{npm_envr}
|
||||
|
||||
# Obsolete the old 'npm' package
|
||||
Obsoletes: npm < 1:9
|
||||
# Due to a mistake in the original F38 repository, this needs to explicitly
|
||||
# Obsoletes: the npm provided by nodejs20-npm
|
||||
Obsoletes: npm < 1:9.5.1-1.20
|
||||
%endif
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue