summaryrefslogtreecommitdiff
path: root/packages/redhat
diff options
context:
space:
mode:
authorScott Moser <smoser@brickies.net>2016-08-05 11:56:48 -0400
committerScott Moser <smoser@brickies.net>2016-08-05 15:00:12 -0400
commit10f82bd474c5bc91b330beccd883da06b0014a99 (patch)
tree2d7e815950bac66d905f5481b54b732a0458d1ef /packages/redhat
parent72d6adcb2e4cb5911f7809b89835965d4bf04476 (diff)
downloadcloud-init-git-10f82bd474c5bc91b330beccd883da06b0014a99.tar.gz
adjust tools and version information.
upstream snapshots are versioned in the format 'X.Y.Z+<distance>.g<commit>' where X.Y.Z are major, minor, and micro. Distance is number of commits since last annotated tag, and commit is the git commit. bddeb and brpm will now create and use the "upstream version" like above. Things changed here: - tools/make-tarball update cloudinit/version.py to contain the full version support --output support '--long' to always create the long format version string. - bddeb: - use quilt debian source format - use read-version and long version in changelog. - brpm: - change to use read-version and upstream long version in the spec. - flake8 changes - tools/read-version - read version from git or from cloudinit/version. - provide --json output with more nicely formed data.
Diffstat (limited to 'packages/redhat')
-rw-r--r--packages/redhat/cloud-init.spec.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/redhat/cloud-init.spec.in b/packages/redhat/cloud-init.spec.in
index c30d33ca..2f02f017 100644
--- a/packages/redhat/cloud-init.spec.in
+++ b/packages/redhat/cloud-init.spec.in
@@ -6,7 +6,7 @@
# Or: http://www.rpm.org/max-rpm/ch-rpm-inside.html
Name: cloud-init
-Version: ${version}
+Version: ${version_long}
Release: 1${subrelease}%{?dist}
Summary: Cloud instance init scripts