1
0

- Provide nodejs and npm and nodejs-devel by the appropriate

defaults package

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-common?expand=0&rev=34
This commit is contained in:
Adam Majer 2021-03-09 17:31:37 +00:00 committed by Git OBS Bridge
parent 3022f5226a
commit 097c92b8f9
2 changed files with 7 additions and 9 deletions

View File

@ -1,8 +1,8 @@
-------------------------------------------------------------------
Mon Mar 8 15:10:15 UTC 2021 - Adam Majer <adam.majer@suse.de>
Tue Mar 9 17:29:00 UTC 2021 - Adam Majer <adam.majer@suse.de>
- Provide nodejs and npm by the correct package, instead of the
legacy common package.
- Provide nodejs and npm and nodejs-devel by the appropriate
defaults package
-------------------------------------------------------------------
Tue Jan 19 11:33:38 UTC 2021 - Adam Majer <adam.majer@suse.de>

View File

@ -91,7 +91,6 @@ Group: Development/Languages/NodeJS
Requires: nodejs%{default_node_ver}
Requires: nodejs-common
Provides: nodejs = %default_node_ver
Obsoletes: nodejs-common < 4.1
%description -n nodejs-default
Depends on the most current and recommended version of nodejs for
@ -103,7 +102,6 @@ Group: Development/Languages/NodeJS
Requires: nodejs-default
Requires: npm%{default_node_ver}
Provides: npm = %default_node_ver
Obsoletes: nodejs-common < 4.1
%description -n npm-default
Depends on the npm version associated with the current default
@ -134,14 +132,14 @@ ln node %{buildroot}%{_bindir}/npx
%files
%license LICENSE
%files -n nodejs-default
%{_bindir}/node
%files -n npm-default
%{_bindir}/npm
%{_bindir}/npx
%files -n nodejs-default
%files -n npm-default
%files -n nodejs-devel-default
%changelog