[Fedora-packaging] Update guidelines with packages from CVS
Tom 'spot' Callaway
tcallawa at redhat.com
Sun May 15 17:24:43 UTC 2005
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?
~spot
--
Tom "spot" Callaway: Red Hat Sales Engineer || GPG Fingerprint: 93054260
Fedora Extras Steering Committee Member (RPM Standards and Practices)
Aurora Linux Project Leader: http://auroralinux.org
Lemurs, llamas, and sparcs, oh my!
More information about the Fedora-packaging
mailing list