Hi Nezumi,
On 10/14/2011 03:58 AM, Hatuka*nezumi - IKEDA Soji via RT wrote:
Show quoted text> <URL:
https://rt.cpan.org/Ticket/Display.html?id=71657 >
>
> Hi Xavier,
>
> On 2011-10月-13 木 10:38:11, xavier@bachelot.org wrote:
>> Hi,
>>
>> I'm packaging this module for Fedora and I've had issues with RPM
>> Provides auto-detection. I worked this around with the attached patch.
>> Could you please review it and possibly apply, if suitable ?
>
> Thanks for your suggestion.
>
> KANA_NONSTARTERS, AMBIGUOUS_ALPHABETICS etc. are intended to
> belong to Unicode::LineBreak namespace (package), not to
> Unicode::LineBreak::Constants namespace. If change of namespace
> is needed solely because of ``AutoProv:'' or ``AutoReqProv:'',
> I believe it is better to add explicit ``Provides:'' line to spec
> file instead.
>
> Defaults.pm.sample is similar. But in addition this is optional
> configuration file, and when namespace of $Config was changed in
> Defaults.pm.sample, LineBreak.pm might be modified.
>
>> Regards,
>> Xavier
>
> Would you please tell me your comment?
>
> Thanks.
>
> --- nezumi
The issue I was trying to fix is duplicate provides because of the
multiple 'package Unicode::LineBreak' declarations in
lib/Unicode/LineBreak.pm, lib/Unicode/LineBreak/Defaults.pm.sample
andlib/Unicode/LineBreak/Constants.pm.
This resulted in the following rpm provides
perl(Text::LineFold) = 2011.03
perl(Unicode::GCString) = 2011.03
perl(Unicode::LineBreak)
perl(Unicode::LineBreak) = 2011.05
The patch follows changes suggested by the reviewer
(
https://bugzilla.redhat.com/show_bug.cgi?id=705372#c6)
As the patch is wrong, I will revert back to provides filtering in the
rpm spec.
Thanks for your time.
Regards,
Xavier