From 27e2fea12755f18bcad406b416f0b26a47a7d58e Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Mon, 16 Jun 2025 21:19:19 +0200 Subject: [PATCH] Clean up directory ownership ... as recommended by the Fedora packaging guidelines [1]. The parent directories for shell completions are now owned by the filesystem RPM [2,3]. So, there won't be any unowned directories, if the toolbox RPM doesn't own them without depending on some other package that owns those directories. There's no need to do a build just for this. [1] https://docs.fedoraproject.org/es/packaging-guidelines/UnownedDirectories/ [2] CentOS Stream filesystem commit f486d3fa6a5559ff1 https://gitlab.com/redhat/centos-stream/rpms/filesystem/-/commit/f486d3fa6a5559ff1 https://issues.redhat.com/browse/RHEL-1338 [3] Fedora filesystem commit 4c45982cd067557e https://src.fedoraproject.org/rpms/filesystem/c/4c45982cd067557e https://bugzilla.redhat.com/show_bug.cgi?id=1504616 Resolves: RHEL-95209 --- toolbox.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/toolbox.spec b/toolbox.spec index 6cee5dc..31c1a34 100644 --- a/toolbox.spec +++ b/toolbox.spec @@ -192,9 +192,9 @@ install -m0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/containers/%{name}.conf %doc CODE-OF-CONDUCT.md CONTRIBUTING.md GOALS.md NEWS README.md SECURITY.md %license COPYING %{?rhel:src/vendor/modules.txt} %{_bindir}/%{name} -%{_datadir}/bash-completion -%{_datadir}/fish -%{_datadir}/zsh +%{_datadir}/bash-completion/completions/%{name}.bash +%{_datadir}/fish/vendor_completions.d/%{name}.fish +%{_datadir}/zsh/site-functions/_%{name} %{_mandir}/man1/%{name}.1* %{_mandir}/man1/%{name}-*.1* %{_mandir}/man5/%{name}.conf.5*