[Fedora-packaging] Exception for JPackage

Toshio Kuratomi a.badger at gmail.com
Fri Feb 9 04:12:19 UTC 2007


On Thu, 2007-02-01 at 23:30 +0200, Ville Skyttä wrote:
> On Thursday 01 February 2007 16:50, Fernando Nasser wrote:
> > Ville Skyttä wrote:
> >
> > > JPackage's pre-release Release: tags are not Xjpp only.  Was this
> > > considered in the draft?  Some random examples:
> > >
> > > classpathx-jaxp-1.0-0.beta1.10jpp
> > > cpptasks-1.0-0.b4.1jpp
> > > cryptix-asn1-0.1.12-0.cvs20011119.7jpp
> > > activemq3-3.2.5-0.r1125.2jpp
> > > radeox-0.9-0.beta.2jpp
> > >
> > > More at http://mirrors.dotsrc.org/jpackage/1.7/generic/free/repodata/
> >
> > These are old style tags, before Nicolas brought up the possible
> > problems with upgrade paths.
> 
> My point wasn't about whether they're 0.foo.Xjpp or 0.1.foo.Xjpp, but that the 
> draft says:
> 
>     "JPackage RPMS only use integers in the Release: field,
>      in the format Xjpp"
> 
> Note: 0.foo.Xjpp is not in the Xjpp format, neither is 0.X.foo.Yjpp.  For 
> example, 1jpp and 15jpp are.
> 
> The draft goes on and says "If this is the case, then ..." and discusses how 
> to take care of stuff.  I just want to make sure the discussion is not based 
> on a false assumption.  I *guess* pre-release names like that are not a 
> problem, but haven't read the draft too thoroughly to be able to tell at the 
> moment.
> 
Here's an attempt to resolve this::

When a jpackage package uses a prerelease, use %{fedora prerelease
scheme}.Xjpp.%{rest of fedora release} where Xjpp is the integer+"jpp"
portion of the jpackage release tag.  Example:
  cpptasks-1.0-0.b4.1jpp => cpptasks-1.0-0.1.b4.1jpp.fc6[OPTIONAL .INT]

When a jpackage package uses the same prerelease scheme as Fedora, this
will allow interleaving:
  cpptasks-1.0-0.1.b4.1jpp => cpptasks-1.0-0.1.b4.1jpp.fc6.1

If the jpackage does not there can be breakage but it's not expected
that this case will arise.  The important thing is for the packagers to
realize that the only thing coming from the jpackage tag is 1jpp.  Doing
this will help catch problems if someone wants to import a JPackage with
this old version scheme or a JPackage that has a buggy version string.

-Toshio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-packaging/attachments/20070208/dc68713b/attachment.sig>


More information about the Fedora-packaging mailing list