[Fedora-packaging] Re: Guidelines and epochs

Michael Schwendt bugs.michael at gmx.net
Mon Jan 8 17:06:15 UTC 2007


On Mon, 8 Jan 2007 11:37:22 -0500, Jesse Keating wrote:

> On Monday 08 January 2007 11:37, Michael Schwendt wrote:
> > No. You add the Epoch to the package, not the API.
> >
> >   foo-1.2-1.i386.rpm  provides  foo(api) = 1.2
> >   foo-2.0-1.i386.rpm  provides  foo(api) = 2.0
> >
> > Rollback:
> >
> >   foo-1:1.2-1.i386.rpm  provides  foo(api) = 1.2
> >       ^^
> >
> > The Epoch at the level of RPM version comparison achieves that the
> > rollback works flawlessly.
> >
> > Perl modules work this way today, since their module version (in automatic
> > "Provides") is independent from the package EVR.
> 
> Ah.  So then all that would be left is rebuilding anything that required 
> foo(api) 2.0, that is anything that was built against the bunk package, which 
> is a problem we would have either way.

foo(api) = %{version}%{?patchlevel} for BuildRequires, +foo(abi) plus the
automatic SONAME dependencies for binary rpms.




More information about the Fedora-packaging mailing list