[Fedora-packaging] release of subpackage with version different from main rpm

Ralf Corsepius rc040203 at freenet.de
Wed Jan 2 15:21:27 UTC 2008


On Wed, 2008-01-02 at 09:08 -0600, Rex Dieter wrote:
> Mamoru Tasaka wrote:
> 
> > I guess there are some packages of which subpackage rpms have versions 
> > which are different from those of the main rpm.
> > For example, on rawhide perl has 4:5.8.8-32.fc8 EVR and its subpackage
> > perl-ExtUtils-MakeMaker has 0:6.30-32.fc8 EVR.
> > 
> > On such case are there any policy for release number? For perl currently
> > the main perl rpm and its subpackages have the same release number.
> > However in other rpms the case may happen that only the version of 
> > main rpm will be bumped where the version of its subpackage won't change.
> > In that case usually we want to switch the release number of main rpm
> > to 1%{?dist}, however if its subpackage has different version the release
> > number of the subpackage usually can't be back to 1%{?dist}. How should
> > we treat this case?
> 
> imo, the simplest solutions for cases like this are:
> 1.  don't munge versions for subpkgs, ie, subpkg EVR = main pkg EVR
> 2. where different Versions are desired, make these a *completely
> separate* pkg, not just a sub-pkg.
ACK. The perl package should remain a special case and an exception.

Ralf





More information about the Fedora-packaging mailing list