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:
Stephen Gallagher 2023-05-15 09:37:24 -04:00
parent 14431056f7
commit dfeab1ea3d
No known key found for this signature in database
GPG key ID: 45DB85A568286D11
2 changed files with 6 additions and 2 deletions

View file

@ -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

View file

@ -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