Don't own /usr/lib/node_modules

As part of https://fedoraproject.org/wiki/Changes/NodejsRepackaging,
the path `/usr/lib/node_modules` has been changed from a directory to a
symlink. This causes a file conflict when trying to install this
package in Fedora 38.

Stop owning that path; it's already owned by Node.js. This is consistent
with other packaged Node.js apps I've manually checked.
This commit is contained in:
Jonathan Lebon 2023-01-29 11:53:53 -05:00
commit b68430bcc5

View file

@ -4,7 +4,7 @@
Name: nodejs-bash-language-server
Version: 3.2.0
Release: 2%{?dist}
Release: 3%{?dist}
Summary: A language server for Bash
License: MIT
Url: https://github.com/bash-lsp/bash-language-server
@ -79,10 +79,12 @@ find %{buildroot}%{nodejs_sitelib}/%{pkg_name} -type f -name "\.*" -delete
%license LICENSE
%doc README.md
%{_bindir}/%{pkg_name}
%dir %{nodejs_sitelib}
%{nodejs_sitelib}/%{pkg_name}/
%changelog
* Sun Jan 29 2023 Jonathan Lebon <jonathan@jlebon.com> - 3.2.0-3
- Don't own /usr/lib/node_modules
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild