Appropraite use of Release and Version
Stuart D. Gathman
stuart at bmsi.com
Thu Mar 10 21:20:54 UTC 2011
On Thu, 10 Mar 2011, Marc Deop wrote:
> On Thursday 10 March 2011 12:30:20 Fawad Ali wrote:
> > I am rpm packaging my software. I want to know the appropraite use of
> > Release and Version Numbers. Lets say my RPM package has release 1 and
> > version 1 currently. If I do a small change like a one line addition in
> > code, what should I change in my spec file for this, release or version?
> If you changed the spec file you should increase the release version.
> The Version in the spec file refers to the software version, therefore you
> should only modifiy it if there is an upgrade to the software you are
You would also change the release when adding new Patch files to an
existing upstream vendor version. As an extreme example, look at the
release numbers on RedHat enterprise kernels. They apply numerous patches
backporting various features and fixes to a stable linux kernel version.
That is why you can have a package like kmod-drbd83 that works with a
whole series of EL5.5 kernel releases. (See the Userfriendly joke
about "very few unpatched kernels".)
Stuart D. Gathman <stuart at bmsi.com>
Business Management Systems Inc. Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flammis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.
More information about the Rpm-list