[Fedora-packaging] Is this allowed? Files and libs duplicated in subpackages

Till Maas opensource at till.name
Sat Sep 7 15:55:46 UTC 2013


On Wed, Sep 04, 2013 at 07:47:55AM -0700, Toshio Kuratomi wrote:

> https://fedoraproject.org/wiki/Packaging:Guidelines?rd=Packaging/Guidelines#DuplicateFiles
> 
> So that would also be a packaging mistake.  It's been many years since this
> was last touched though.  IIRC, mschwendt raised the last issue with it so
> he may be best able to recall the justifications for this rule and whether
> the FPC should consider relaxing it.

The python guidelines contain an example where %doc is used to include
the same doc files both in the python2 and python3 package:

https://fedoraproject.org/wiki/Packaging:Python#Example_spec_file

It sounds like it should be mentioned as an exception in the duplicate
files guidelines.

Also the python guidelines still use %{__python} but say at the same
time that %{__python2} should be used instead.

Regards
Till


More information about the packaging mailing list