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}