how to generate version and release numbers in spec files dynamically?
Fulko Hew
fulko.hew at gmail.com
Fri Jun 25 13:47:02 UTC 2010
At the top of spec files we have entries for version and release information
like:
Version: 1.0
Release: 5
I'd like this information to be auto-retrieved from values in files in the
build/source
directories, so that my 'make' process can bump the release number every
time
there was a build, without me having to go in and edit the spec file every
time.
sort of the equivalent of:
Release: %{<file_containing_release_number}
Is this possible? how?
TIA
Fulko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-list/attachments/20100625/f04f1c4a/attachment.html>
More information about the Rpm-list
mailing list