upstream/openstack/python-gnocchiclient/centos/build_srpm.data
Scott Little 40177cdbcf Fix package versions of openstack clients
Our openstack clients are now based upon the master branch.
The rpm packaging version should reflect the latest tagged version,
as can be discovered by `git describe`.  The actual packaging
has fallen well behind that target.

This update will correct the rpm packaging.

Also the current packaging does not advance as new commits are
delivered to master.  I propose to use the TIS_BASE_SRCREV
mechanism to count commits passed the tag.

Now this is not ideal as it result in packages looking like this
 -- python-cinderclient-4.1.0-1.tis.33.src.rpm --
which may seem to imply that tis has authored 33 patches upon
python-cinderclient.  We are indeed 33 patches beyond tag
4.1.0 (as of this writing), but it is upstream revisions and
not stx (tis) revisions that are being counted.

We may want further build tool work to implement a second
revision counting mechanism to separate upstream revisions
from stx revisions.

Story: 2004751
Task: 28864
Change-Id: I90fa12084cef1faee52b38c328df078d2f18a001
Signed-off-by: Scott Little <scott.little@windriver.com>
2019-03-15 16:02:47 -04:00

5 lines
117 B
Plaintext

TAR_NAME=gnocchiclient
SRC_DIR=$CGCS_BASE/git/python-gnocchiclient
TIS_BASE_SRCREV="7.0.4"
TIS_PATCH_VER=GITREVCOUNT