From a029127b26f0e3211cafff0ae0c644199753fb06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zoran=20Peri=C4=8Di=C4=87?= Date: Tue, 9 Jun 2026 09:59:13 +0200 Subject: [PATCH] fix: use system node headers (--nodedir=/usr) for offline build --- nodejs-napi-ldap.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodejs-napi-ldap.spec b/nodejs-napi-ldap.spec index ba12220..437345b 100644 --- a/nodejs-napi-ldap.spec +++ b/nodejs-napi-ldap.spec @@ -43,7 +43,7 @@ ln -srt node_modules/ node_modules_prod/* ln -srt node_modules/.bin/ node_modules_prod/.bin %build -USE_SYSTEM_LDAP=1 npm rebuild +USE_SYSTEM_LDAP=1 npm rebuild --nodedir=/usr %install mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}