Description of problem: '/etc/bash_completion.d' folder should be owned by PackageKit package. Version-Release number of selected component (if applicable): PackageKit-0.1.12-13.20080522.fc9 Steps to Reproduce: 1. rpm -qf /etc/bash_completion.d/pk-completion.bash 2. rpm -qf /etc/bash_completion.d Actual results: file /etc/bash_completion.d is not owned by any package Additional info: PackageKit does not require bash-completion package and therefore it should own /etc/bash_completion.d folder.
Should PackageKit just ship a subpackage for the bash completion thing? What do other packages do?
The following packages provide bash completion files: rpmlint, boince-client, git, quilt, monotone, cowsay, bzr. and they all own '/etc/bash_completion.d' folder. I did not find anybody providing a subpackage just for the bash completion.
Surely bash should own it, no?
According to Fedora packaging guidelines "your package should own all of the directories it creates except those owned by packages which your package depends on". http://fedoraproject.org/wiki/PackagingDrafts/DirectoryOwnershipImprovement PackageKit does not depend on bash-completion package. This means that PackageKit should own /etc/bash_completion.d/ folder just as other packages (rpmlint, boince-client, git, quilt, monotone, cowsay, bzr) are doing it.
(In reply to comment #4) > According to Fedora packaging guidelines "your package should own all of the > directories it creates except those owned by packages which your package depends > on". > http://fedoraproject.org/wiki/PackagingDrafts/DirectoryOwnershipImprovement ie http://fedoraproject.org/wiki/Packaging/Guidelines#File_and_Directory_Ownership > PackageKit does not depend on bash-completion package. This means that > PackageKit should own /etc/bash_completion.d/ folder just as other packages > (rpmlint, boince-client, git, quilt, monotone, cowsay, bzr) are doing it. Hmm maybe you're right. Somehow it just seems easier if bash owned that directory. It is hard to imagine a system without bash installed anyway.
Surely bash shouldn't own it. Bash does nothing with /etc/bash_completion.d/. In this case PackageKit should own this directory. It is said in http://fedoraproject.org/wiki/Packaging/Guidelines#File_and_Directory_Ownership.
I've committed this to the devel branch, I'll update F9 when I next build the package. Thanks.