[Fedora-packaging] Update guidelines with packages from CVS
Michael Schwendt
bugs.michael at gmx.net
Sun May 15 20:52:23 UTC 2005
On Sun, 15 May 2005 12:24:43 -0500, Tom 'spot' Callaway wrote:
> On Sun, 2005-05-15 at 19:12 +0200, Michael Schwendt wrote:
>
> > Fedora.us' vepoch concept, which means to move the most significant part
> > of %version-%release into the release tag and place any less significant
> > portions to the right of it, e.g.:
> >
> > fontforge-0.0-2.20050310.fc4.i386.rpm
> > ^
> > http_ping-0.0-3.20020403.i386.rpm
> > ^
> > libuninameslist-0.0-3.040707.i386.rpm
> > ^
> > openal-0.0-0.3.20040726.i386.rpm
> > ^^^
> >
> > Don't use 0.0.`date` as it would be larger than 0.0.1, which could be the
> > first release of a program. Instead, move the snapshot date into the
> > release tag.
>
> So, under current guidelines, that would basically mean:
>
> # cvsdate should be in the format YYYYMMDD
> %define cvsdate 20050515
> # 0.0 is used for applications that do not have a proper version number.
> Version: 0.0
> # Increment first digit of release if making a change without new source
> # checkout, if new source checkout, reset to 1.
> Release: 1.%cvsdate%{?dist}
>
> Does that seem reasonable?
Yes, IMO.
For snapshots of software with a previous release, i.e. with a real %
version, the string "cvs" or "svn" after cvsdate in the release field
would make it more clear that it's a post-release snapshot.
More information about the Fedora-packaging
mailing list