Commit graph

11 commits

Author SHA1 Message Date
Stephen Gallagher
dfeab1ea3d
Fix NPM Obsoletes
The version of npm shipped by nodejs20 in the frozen F38 repo is
higher than the version provided by the default nodejs18. This
works around that.

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2023-05-15 09:37:29 -04:00
Stephen Gallagher
14431056f7
Fix up shebangs for npm and npx
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2023-04-28 10:46:32 -04:00
Stephen Gallagher
4e9436a835
Replace /usr/etc/npmrc symlink with builtin configuration
We want to have the system-level npmrc located at /etc/npmrc.
By default, npm looks for it in /usr/etc/npmrc,
so we placed a symlink to /etc/npmrc there.
However, we are the only known package that has anything in /usr/etc,
which confuses and/or breaks various tooling (see related bug).

This gets rid of the symlink,
and instead uses "builtin"-level configuration of npm
to cause it to load the system-level configuration from /etc/npmrc.

Related: rhbz#2177776

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2023-04-27 08:50:37 -04:00
Stephen Gallagher
bca6ea5ea2
Fix manpage symlinks
Resolves: rhbz#2187978

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2023-04-26 15:13:29 -04:00
Stephen Gallagher
0362f42fb0
Don't 'Provides: npm' on non-default
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2023-04-11 15:23:07 -04:00
Stephen Gallagher
7000efe305
Adjust nodejs-devel Provides
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2023-04-03 09:07:15 -04:00
Stephen Gallagher
4ffd58b121
Pull in changes from nodejs20
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2023-03-30 08:50:27 -04:00
Stephen Gallagher
4aadc166bf
Fix build issue on non-default releases
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2023-03-27 19:10:34 -04:00
Stephen Gallagher
c2b89a7006
Fix libv8 packaging issue
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2023-03-27 14:55:11 -04:00
Stephen Gallagher
580f45bab6
Namespace the v8 compat libraries
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2023-03-16 15:37:40 -04:00
Stephen Gallagher
b77028c109
template: Re-sync from nodejs20
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2023-03-01 15:08:30 -05:00
Renamed from packaging/nodejs.spec.in (Browse further)