fix: remove duplicate build-ids and double-listed file
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user