X-Git-Url: http://git.pld-linux.org/?p=packages%2Fnodejs.git;a=blobdiff_plain;f=nodejs.spec;h=6378d8e605e3843f447cf05120df949a17624ee3;hp=350f9cc6242a30b6ac731f83716d68d644e2fa63;hb=0f608c7;hpb=ab907bdbb86695a1f577789601d94e08dde65f44 diff --git a/nodejs.spec b/nodejs.spec index 350f9cc..6378d8e 100644 --- a/nodejs.spec +++ b/nodejs.spec @@ -7,6 +7,8 @@ %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/ @@ -23,12 +25,12 @@ Name: nodejs # 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 @@ -53,7 +55,7 @@ BuildRequires: pkgconfig 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 @@ -112,9 +114,7 @@ Summary: Documentation for Node.js engine 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 @@ -146,7 +146,7 @@ Sondy systemtap/dtrace dla Node.js. %prep %setup -q -n node-v%{version} -%if %{_lib} == "lib64" +%if "%{_lib}" == "lib64" %patch3 -p1 %else %patch2 -p1