diff --git a/nodejs18.spec b/nodejs18.spec index c9875f7..5fd35dc 100644 --- a/nodejs18.spec +++ b/nodejs18.spec @@ -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 diff --git a/packaging/nodejs.spec.j2 b/packaging/nodejs.spec.j2 index 1be82d2..1eb28db 100644 --- a/packaging/nodejs.spec.j2 +++ b/packaging/nodejs.spec.j2 @@ -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