%bcond_without system_uv # system uv
%bcond_with http_parser # system http-parser and llhttp
+%define _enable_debug_packages 0
+
# NOTES:
# - https://nodejs.org/en/download/releases/
# Active start: 2020-10-27
# Maintenance start: October 2020
# Maintenance end: April 2023
-Version: 14.15.0
+Version: 14.16.0
Release: 1
License: BSD and MIT and Apache v2.0 and GPL v3
Group: Development/Languages
Source0: https://nodejs.org/dist/v%{version}/node-v%{version}.tar.gz
-# Source0-md5: a5cf57a18833bd122eca200a7d5e22d9
+# Source0-md5: 7dc3666f407bf4e12a01ce1be2883d31
# force node to use /usr/lib/node as the systemwide module directory
Patch2: %{name}-libpath.patch
BuildRequires: python3
BuildRequires: python3-modules
BuildRequires: rpm >= 4.4.9-56
-BuildRequires: rpmbuild(macros) >= 1.219
+BuildRequires: rpmbuild(macros) >= 1.752
BuildRequires: sed >= 4.0
BuildRequires: zlib-devel >= 1.2.11
Requires: c-ares >= 1.16.1
Summary(pl.UTF-8): Dokumentacja silnika Node.js
Group: Documentation
URL: https://nodejs.org/dist/v%{doc_ver}/docs/api
-%if "%{_rpmversion}" >= "4.6"
BuildArch: noarch
-%endif
%description doc
Node.js is a server-side JavaScript environment that uses an
%prep
%setup -q -n node-v%{version}
-%if %{_lib} == "lib64"
+%if "%{_lib}" == "lib64"
%patch3 -p1
%else
%patch2 -p1