From 0e4a7754aaaf3abd4b0ea39dd95850c2e72a8b32884f5a31c0c04bc35aa042e3 Mon Sep 17 00:00:00 2001 From: Adam Majer Date: Mon, 8 Mar 2021 15:26:31 +0000 Subject: [PATCH] - Provide nodejs and npm by the correct package, instead of the legacy common package. OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-common?expand=0&rev=30 --- nodejs-common.changes | 5 +++-- nodejs-common.spec | 8 +++++--- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/nodejs-common.changes b/nodejs-common.changes index 34c6e82..e2556bd 100644 --- a/nodejs-common.changes +++ b/nodejs-common.changes @@ -1,7 +1,8 @@ ------------------------------------------------------------------- -Tue Feb 9 15:15:46 UTC 2021 - Adam Majer +Mon Mar 8 15:10:15 UTC 2021 - Adam Majer -- Fix typo in Requires +- Provide nodejs and npm by the correct package, instead of the + legacy common package. ------------------------------------------------------------------- Tue Jan 19 11:33:38 UTC 2021 - Adam Majer diff --git a/nodejs-common.spec b/nodejs-common.spec index 372b291..5beacb3 100644 --- a/nodejs-common.spec +++ b/nodejs-common.spec @@ -90,6 +90,7 @@ Summary: Default version of nodejs Group: Development/Languages/NodeJS Requires: nodejs%{default_node_ver} Requires: nodejs-common +Provides: nodejs = %default_node_ver %description -n nodejs-default Depends on the most current and recommended version of nodejs for @@ -100,6 +101,7 @@ Summary: Default version of npm Group: Development/Languages/NodeJS Requires: nodejs-default Requires: npm%{default_node_ver} +Provides: npm = %default_node_ver %description -n npm-default Depends on the npm version associated with the current default @@ -129,13 +131,13 @@ ln node %{buildroot}%{_bindir}/npx %files %license LICENSE -%{_bindir}/node -%{_bindir}/npm -%{_bindir}/npx %files -n nodejs-default +%{_bindir}/node %files -n npm-default +%{_bindir}/npm +%{_bindir}/npx %files -n nodejs-devel-default