forked from autogits/nodejs-common
- 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
This commit is contained in:
parent
081ab30f5f
commit
0e4a7754aa
@ -1,7 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 9 15:15:46 UTC 2021 - Adam Majer <adam.majer@suse.de>
|
||||
Mon Mar 8 15:10:15 UTC 2021 - Adam Majer <adam.majer@suse.de>
|
||||
|
||||
- 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 <adam.majer@suse.de>
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user