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
This commit is contained in:
Debarshi Ray 2025-06-16 21:19:19 +02:00
parent df077ae343
commit 27e2fea127

View File

@ -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*