Gesendet: Dienstag, 24. Juni 2014 um 11:45 Uhr
Von: "Paul Howarth" <paul(a)city-fan.org>
An: packaging@lists.fedoraproject.org
Betreff: Re: [Fedora-packaging] question regarding the release tag of speed-dreams
2.1.0rc1-r5781 new rc1 release
On 24/06/14 09:04, Martin Gansser wrote:
> Hi,
> can someone have a look on to the attached rpm spec file, is the
> release tag ok for the new
> rc1 release.
>
http://fedoraproject.org/wiki/Packaging:NamingGuidelines
> Erstellt:
> /home/martin/rpmbuild/SRPMS/speed-dreams-2.1.0-17.r5781_rc1.fc20.src.rpm
> Erstellt:
> /home/martin/rpmbuild/RPMS/x86_64/speed-dreams-2.1.0-17.r5781_rc1.fc20.x86_64.rpm
> Erstellt:
>
/home/martin/rpmbuild/RPMS/noarch/speed-dreams-robots-base-2.1.0-17.r5781_rc1.fc20.noarch.rpm
> Erstellt:
>
/home/martin/rpmbuild/RPMS/x86_64/speed-dreams-devel-2.1.0-17.r5781_rc1.fc20.x86_64.rpm
> Erstellt:
>
/home/martin/rpmbuild/RPMS/x86_64/speed-dreams-debuginfo-2.1.0-17.r5781_rc1.fc20.x86_64.rpm
> the rpm spec file is attached.
No, you have a release tag starting with "17.", whilst pre-release
versions should start with "0." - see the pre-release naming guidelines:
http://fedoraproject.org/wiki/Packaging:NamingGuidelines#Pre-Release_pack...
/wiki/Packaging:NamingGuidelines#Pre-Release_packages]
If you want to include the svn revision number then you should also
follow the snapshot guidelines:
http://fedoraproject.org/wiki/Packaging:NamingGuidelines#Snapshot_package...
/wiki/Packaging:NamingGuidelines#Snapshot_packages]
You probably want something like 2.1.0-0.17.rc1 or
2.1.0-0.17.20140619svn5781.rc1
However, if you have previously built a 2.1.0 pre-release with a
non-zero release number, using the zero prefix would break the upgrade
path so you'd have to consider either continuing with
guidelines-breaking release numbers or using an epoch.
Paul.
thank you paul for your feedback,
I'll go ahead with guidelines-breaking release numbers
(speed-dreams-2.1.0-17.trunk_r5781) to avoid problems when updating.
Martin