From 280abb5a740e0ab5cfd0b4894eafed07ef90e9c9 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Wed, 12 Apr 2023 16:21:09 -0400 Subject: [PATCH] Apply changes to actual spec Signed-off-by: Stephen Gallagher --- nodejs20.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nodejs20.spec b/nodejs20.spec index 2d897f1..cd60933 100644 --- a/nodejs20.spec +++ b/nodejs20.spec @@ -416,10 +416,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