From 86d13afe9295f224df9a88c0b97fd02f7738a325 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Thu, 24 Jun 2021 10:15:22 -0400 Subject: [PATCH] Use system version of jinja2 during build Signed-off-by: Stephen Gallagher --- nodejs.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nodejs.spec b/nodejs.spec index c938a2c..f04d8c4 100644 --- a/nodejs.spec +++ b/nodejs.spec @@ -148,6 +148,7 @@ Patch2: 0002-Install-both-binaries-and-use-libdir.patch BuildRequires: make BuildRequires: python3-devel BuildRequires: python3-setuptools +BuildRequires: python3-jinja2 BuildRequires: python-unversioned-command BuildRequires: zlib-devel BuildRequires: brotli-devel @@ -357,6 +358,8 @@ The API documentation for the Node.js JavaScript runtime. # remove bundled dependencies that we aren't building rm -rf deps/zlib rm -rf deps/brotli +rm -rf deps/v8/third_party/jinja2 +rm -rf tools/inspector_protocol/jinja2 %build