Don't own /usr/lib/node_modules

resolves: rhbz#2176048

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:
Pavel Filipenský 2023-03-07 15:25:44 +01:00
commit 6a2fd2bb89

View file

@ -4,7 +4,7 @@
Name: nodejs-bash-language-server
Version: 4.6.1
Release: 2%{?dist}
Release: 3%{?dist}
Summary: A language server for Bash
License: MIT
Url: https://github.com/bash-lsp/bash-language-server
@ -87,10 +87,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
* Tue Mar 07 2023 Pavel Filipenský <pfilipen@redhat.com> - 4.6.1-3
- resolves: rhbz#2176048 - Don't own /usr/lib/node_modules
* Thu Feb 02 2023 Pavel Filipenský <pfilipen@redhat.com> - 4.6.1-2
- Fix /usr/bin/bash-language-server