On 27/11/2019 10:32, Richard W.M. Jones wrote:
I have several projects that include bash-completions, and am trying to get a new one through package review. The reviewer has raised a question about whether the package should own: %dir %{_datadir}/bash-completion/completions My existing projects have basically cargo-culted the bash-completion packaging, so I thought I would see if there are official guidelines, but I'm not finding anything. Do we have guidelines?
Certainly: https://docs.fedoraproject.org/en-US/packaging-guidelines/#_file_and_directory_ownership But the short answer is that you either have to co-own it or you to require a package (presumably bash-completion in this case) which owns it. This case would appear to fall into : https://docs.fedoraproject.org/en-US/packaging-guidelines/#_the_directory_is_owned_by_a_package_which_is_not_required_for_your_package_to_function Because you don't need bash, you're just providing an extension for it for people that do use it. In that case co-ownership is recommended unless there is a filesystem package you can require to get the directory, which there isn't in this case. Tom -- Tom Hughes (tom@xxxxxxxxxx) http://compton.nu/ _______________________________________________ packaging mailing list -- packaging@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to packaging-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/packaging@xxxxxxxxxxxxxxxxxxxxxxx