Multi-owned perl directories in perl package in F-13

Iain Arnell iarnell at gmail.com
Sat Jul 3 08:02:17 UTC 2010


On Sat, Jul 3, 2010 at 9:24 AM, Remi Collet <Fedora at famillecollet.com> wrote:
> Hi,
>
> Looking at a review, https://bugzilla.redhat.com/608470
>
> I'd like to raise a question about multi-owned dir.
>
> Until F-12, we have an exception
> https://fedoraproject.org/wiki/Packaging/Perl#Directory_Ownership
>
> Since F-13, as perl use /usr/share/perl5 as perl_vendorlib, we probably
> have to apply standard Guidelines:
>        "MUST: Packages must not own files or directories already
>        owned by other packages."
>
> But this, will requires come conditional stuff...
>
>        %if 0%{?fedora} >= 12
>        %{perl_vendorlib}/Test/Script
>        %else
>        %{perl_vendorlib}/Test
>        %endif
>
> How this should be handled nicely ?

Exactly as it is at the minute - continue allow perl modules to share
directory ownership.

I think the "Multiple packages own files in a common directory but
none of them needs to require the others."[1] rule would cover it. In
general, module A::B::C doesn't necessarily require A::B (or even A).

There's a fair number of App:: modules, but nothing that could be
considered the unique owner of /usr/share/perl5/App directory. Same
goes for Data, HTML, Task, XML, and plenty of others.

The guidelines should probably be updated to clarify this.


[1] https://fedoraproject.org/wiki/Packaging/Guidelines#Multiple_packages_own_files_in_a_common_directory_but_none_of_them_needs_to_require_the_others.

-- 
Iain.



More information about the perl-devel mailing list