prep for GA release.

Ordinary release have Release values in the form of X.
Prereleases, e.g. release candidates, have Release values in the form 0.X.

I.e. following Fedora NVR (name, version, release) rules, _ordinary_
releases have NVRs like nfs-ganesha-2.0.0-X.fc21.x86_64.rpm, while
prereleases have NVRs like nfs-ganesha-2.0.0-0.X.rcY.fc21.x86_64.rpm.

This convention allows the GA updates to apply correctly when someone
has installed a prerelease RPM.
This commit is contained in:
Kaleb S. KEITHLEY 2013-12-02 08:25:11 -05:00
parent 6d8c908e5d
commit 861e1add8a
1 changed files with 2 additions and 2 deletions

View File

@ -1,12 +1,12 @@
%global prereltag rcfinal
# %%global prereltag rcfinal
%global reltag pre-2.0-RC-final
%global ntirpcname ntirpc
%global ntirpcvers 1.0.0
Name: nfs-ganesha
Version: 2.0.0
Release: 0.2%{?prereltag:.%{prereltag}}%{?dist}
Release: 1%{?prereltag:.%{prereltag}}%{?dist}
Summary: Ganesha NFS Server
Group: System Environment/Libraries
License: LGPLv3+