From a909ebafff25df1803ea796b0f0bab2163940c52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zoran=20Peri=C4=8Di=C4=87?= Date: Tue, 9 Jun 2026 10:01:20 +0200 Subject: [PATCH] fix: remove duplicate build-ids and double-listed file --- 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 437345b..e4de5a1 100644 --- a/nodejs-napi-ldap.spec +++ b/nodejs-napi-ldap.spec @@ -46,6 +46,7 @@ ln -srt node_modules/.bin/ node_modules_prod/.bin USE_SYSTEM_LDAP=1 npm rebuild --nodedir=/usr %install +rm -rf build/Release/obj.target mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name} cp -pr main.js LDAPError.js package.json build node_modules_prod node_modules \ %{buildroot}%{nodejs_sitelib}/%{npm_name}/ @@ -56,7 +57,6 @@ cp -pr main.js LDAPError.js package.json build node_modules_prod node_modules \ %files %license LICENSE %{npm_name}-%{version}-bundled-licenses.txt %doc README.md -%dir %{nodejs_sitelib}/%{npm_name} %{nodejs_sitelib}/%{npm_name} %changelog