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