Commit graph

721 commits

Author SHA1 Message Date
Stephen Gallagher
a955794775 Update to security release 18.16.1
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2023-06-21 10:02:16 -04:00
Stephen Gallagher
8feb3e5509 sources: install jinja2 if needed
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2023-06-21 09:19:01 -04:00
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
00573643f6
Add README for packagers
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2023-04-27 13:51:35 -04:00
Stephen Gallagher
7fac550d3e
nodejs-sources.sh: Add --debug flag
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2023-04-27 08:58:13 -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
7559b10a65
Apply to spec also
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2023-04-26 15:14:32 -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
a7bb99ba07
Rebase Fedora patches
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2023-04-26 12:37:19 -04:00
Stephen Gallagher
a98d03435c
Update to 18.16.0
https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V18.md#18.16.0

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2023-04-26 12:31:13 -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
6e5a66a778
Update to 18.15.0
- https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V18.md#18.15.0

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2023-03-09 10:28:50 -05: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
dc374d2c11
Also drop patch from specfile
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2023-02-23 15:17:55 -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
b1efdc3f55
Update to latest version of nodejs-sources.sh
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2023-02-21 14:59:23 -05:00
Stephen Gallagher
2193e314cf
Update to 18.14.2
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2023-02-21 14:47:39 -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
c541b7e256
Set Node.js 18.x as the default for RHEL 10
This will likely change to 20.x closer to release, but we need a
default in place for the time being.

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2023-01-27 13:36:00 -05:00
Stephen Gallagher
8cfad4cd12
sources: Fix typo preventing upload
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2023-01-23 17:18:47 -05:00
Stephen Gallagher
148cb7de34
sources: Use spec template for ICU URL
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2023-01-23 16:53:27 -05:00
Stephen Gallagher
99e9cbbbe5
Fix important typo
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2023-01-23 15:41:05 -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
Fedora Release Engineering
c2526cc511 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 21:42:59 +00:00
Stephen Gallagher
679308e617
Update to 18.13.0
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2023-01-16 11:29:51 -05:00
Stephen Gallagher
35ce6bd08e
Disable gating for now
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2022-12-13 14:26:58 -05:00
Stephen Gallagher
2851ac84ca
Use requires instead of conflicts for -docs
Conflicts causes issues with parallel-installation of non-default
Node.js versions.

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2022-12-12 15:11:19 -05:00
Stephen Gallagher
e518e262b3
Add pretrans scriptlet for node_modules
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2022-12-12 15:11:19 -05:00
Stephen Gallagher
cc73e226d4
Add proper npm obsoletes
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2022-12-12 15:11:18 -05:00
Stephen Gallagher
592c8cae25
Drop redundant default definition
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2022-12-12 15:11:17 -05:00
Stephen Gallagher
ee9d5d135c
Enable parallel-installation
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2022-12-12 15:11:11 -05:00
Jan Staněk
a3c7fd02a8
Check bundled WASM sources for version mismatch 2022-12-12 14:42:28 +01:00
Jan Staněk
267026f111
Include sources for WASM blobs 2022-12-12 14:42:27 +01:00
Stephen Gallagher
ea87d2c1bc
Update to security release 18.12.1
https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V18.md#18.12.1
https://nodejs.org/en/blog/vulnerability/november-2022-security-releases/

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2022-11-07 08:19:35 -05:00
Stephen Gallagher
64be0117c5
Update python3_fixup
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2022-11-01 10:21:54 -04:00
Stephen Gallagher
7c7a75f64b
Move native module autorequires to nodejs-packaging
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2022-10-20 10:05:37 -04:00
Stephen Gallagher
08c7ea5ebe
Fix symlinks
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2022-10-19 20:28:01 -04:00
Stephen Gallagher
33ebc0634d
Update to 18.11.0
https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V18.md#18.11.0

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2022-10-19 16:33:20 -04:00
Stephen Gallagher
8d3e75401d
Update to 18.10.0
https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V18.md#18.10.0

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2022-10-04 16:29:31 -04:00
Stephen Gallagher
4c37e579db
Fix incorrect version number
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2022-09-23 16:03:16 -04:00
Stephen Gallagher
f924bef5fc
Update to 18.9.1
https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V18.md#18.9.1

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2022-09-23 15:32:42 -04:00
Stephen Gallagher
d4511c9b8c
Simplify manpage packaging
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2022-09-15 09:21:36 -04:00
Stephen Gallagher
d9254b5d97
Add f37 to package.cfg
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2022-09-14 16:37:43 -04:00