Apply changes to actual spec

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
This commit is contained in:
Stephen Gallagher 2023-04-12 16:21:09 -04:00
parent 92480e0459
commit 280abb5a74
No known key found for this signature in database
GPG Key ID: 45DB85A568286D11

View File

@ -416,10 +416,11 @@ Recommends: %{pkgname}-docs = %{nodejs_envr}
# the automatic dependency-generation script. # the automatic dependency-generation script.
Provides: npm(npm) = %{npm_version} Provides: npm(npm) = %{npm_version}
%if 0%{?nodejs_default}
# Satisfy dependency requests for "npm" # Satisfy dependency requests for "npm"
Provides: npm = %{npm_envr} Provides: npm = %{npm_envr}
%if 0%{?nodejs_default}
# Obsolete the old 'npm' package # Obsolete the old 'npm' package
Obsoletes: npm < 1:9 Obsoletes: npm < 1:9
%endif %endif