diff --git a/nodejs.spec b/nodejs.spec index e8cea9d..0d3a0d6 100644 --- a/nodejs.spec +++ b/nodejs.spec @@ -24,13 +24,20 @@ %bcond_with bundled %endif -%bcond_without python3_fixup +%bcond_with python3_fixup + +# LTO is currently broken on Node.js builds +%define _lto_cflags %{nil} + +# Heavy-handed approach to avoiding issues with python +# bytecompiling files in the node_modules/ directory +%global __python %{__python3} # == Master Relase == # This is used by both the nodejs package and the npm subpackage that # has a separate version - the name is special so that rpmdev-bumpspec # will bump this rather than adding .1 to the end. -%global baserelease 1 +%global baserelease 2 %{?!_pkgdocdir:%global _pkgdocdir %{_docdir}/%{name}-%{version}} @@ -692,6 +699,11 @@ end %changelog +* Mon Jun 20 2022 Zuzana Svetlikova - 1:18.2.0-2 +- Disable LTO +- Related: #1990096 +- Build without python3 fixup by default + * Tue May 31 2022 Jan Staněk - 1:18.2.0-1 - Rebase to version 18.2.0