2
0
forked from pool/nodejs-common

- 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 - Provide nodejs and npm and nodejs-devel by the appropriate
legacy common package. defaults package
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jan 19 11:33:38 UTC 2021 - Adam Majer <adam.majer@suse.de> 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%{default_node_ver}
Requires: nodejs-common Requires: nodejs-common
Provides: nodejs = %default_node_ver Provides: nodejs = %default_node_ver
Obsoletes: nodejs-common < 4.1
%description -n nodejs-default %description -n nodejs-default
Depends on the most current and recommended version of nodejs for Depends on the most current and recommended version of nodejs for
@ -103,7 +102,6 @@ Group: Development/Languages/NodeJS
Requires: nodejs-default Requires: nodejs-default
Requires: npm%{default_node_ver} Requires: npm%{default_node_ver}
Provides: npm = %default_node_ver Provides: npm = %default_node_ver
Obsoletes: nodejs-common < 4.1
%description -n npm-default %description -n npm-default
Depends on the npm version associated with the current default Depends on the npm version associated with the current default
@ -134,14 +132,14 @@ ln node %{buildroot}%{_bindir}/npx
%files %files
%license LICENSE %license LICENSE
%files -n nodejs-default
%{_bindir}/node %{_bindir}/node
%files -n npm-default
%{_bindir}/npm %{_bindir}/npm
%{_bindir}/npx %{_bindir}/npx
%files -n nodejs-default
%files -n npm-default
%files -n nodejs-devel-default %files -n nodejs-devel-default
%changelog %changelog