co-own %{nodejs_sitelib} directory
This will ensure the directory is removed when the last package that owns it is removed. Before, the directory would be kept (empty) on systems where all nodejs and modules were removed.
This commit is contained in:
parent
cd3a130f92
commit
9e562d3d4c
@ -81,6 +81,7 @@ npm --offline run test || :
|
|||||||
%files
|
%files
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%license LICENSE %{npm_name}-%{version}-bundled-licenses.txt
|
%license LICENSE %{npm_name}-%{version}-bundled-licenses.txt
|
||||||
|
%dir %{nodejs_sitelib}
|
||||||
%{nodejs_sitelib}/%{npm_name}
|
%{nodejs_sitelib}/%{npm_name}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user