Commit graph

13 commits

Author SHA1 Message Date
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
Stephen Gallagher
18c023f26e
Drop unneeded patch
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2023-02-23 15:16:26 -05:00
Stephen Gallagher
2ec1a0503b
Update to v18.14.1
- https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V18.md#18.14.1
- packaging: Drop vestigial package.cfg file.
- packaging: Fix spec template
- packaging: Make nodejs-sources.sh clean up after itself

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2023-02-17 11:10:30 -05:00
Stephen Gallagher
443d608e13
Fix v8 symlinks
Resolves: rhbz#2163346

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2023-01-23 15:32:31 -05:00
Stephen Gallagher
bd35f75e9f
Rework nodejs-sources.sh
This will now automatically update the specfile from the
.packaging/nodejs.spec.in template.

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2023-01-23 15:27:59 -05:00