fix: remove duplicate build-ids and double-listed file

This commit is contained in:
2026-06-09 10:01:20 +02:00
parent a029127b26
commit a909ebafff
+1 -1
View File
@@ -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