From 9e562d3d4ced31ef9251cbeb681edd960b419f5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Stan=C4=9Bk?= Date: Tue, 14 Nov 2023 10:56:29 +0100 Subject: [PATCH] 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. --- nodejs-undici.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/nodejs-undici.spec b/nodejs-undici.spec index f823758..adc7e13 100644 --- a/nodejs-undici.spec +++ b/nodejs-undici.spec @@ -81,6 +81,7 @@ npm --offline run test || : %files %doc README.md %license LICENSE %{npm_name}-%{version}-bundled-licenses.txt +%dir %{nodejs_sitelib} %{nodejs_sitelib}/%{npm_name} %changelog