summaryrefslogtreecommitdiffstats
path: root/gluster/swift/__init__.py
diff options
context:
space:
mode:
authorLuis Pabon <lpabon@redhat.com>2013-11-13 16:01:40 -0500
committerLuis Pabon <lpabon@redhat.com>2013-11-14 15:14:23 -0800
commit477b4a9e560ebcda9ea91e3e03169a0c741f293b (patch)
tree766150648bae0d34edc96fd825844de209b9da6b /gluster/swift/__init__.py
parent53fda6b5e0a95096be4df673f800df494d174f01 (diff)
Update RPM spec file
Update the RPM file with the comments from submittal spec file to the Fedora Project. This update also differntiates between the project name 'gluster-swift' and the Fedora distribution name 'glusterfs-openstack-swift'. This simple changes makes it less confusing when downloading the source on http://launchpad.net/gluster-swift . For more information on the Fedora Project submittal status please see: https://bugzilla.redhat.com/show_bug.cgi?id=1003089 This fix also creates a tar.gz source file so that Jenkins can archive it. This can be used for distributions other than RPM based systems. Change-Id: Ia9b85d53cf576a7754aaa018396adb70cb0f2855 Signed-off-by: Luis Pabon <lpabon@redhat.com> Reviewed-on: http://review.gluster.org/6265 Reviewed-by: Thiago Da Silva <thiago@redhat.com> Tested-by: Thiago Da Silva <thiago@redhat.com>
Diffstat (limited to 'gluster/swift/__init__.py')
-rw-r--r--gluster/swift/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gluster/swift/__init__.py b/gluster/swift/__init__.py
index 8861ba6..9e7d4cf 100644
--- a/gluster/swift/__init__.py
+++ b/gluster/swift/__init__.py
@@ -22,6 +22,7 @@ class PkgInfo(object):
self.release = release
self.name = name
self.final = final
+ self.full_version = self.canonical_version + '-' + self.release
def save_config(self, filename):
"""
@@ -44,6 +45,6 @@ class PkgInfo(object):
###
### Change the Package version here
###
-_pkginfo = PkgInfo('1.10.0', '0', 'glusterfs-openstack-swift', False)
+_pkginfo = PkgInfo('1.10.1', '0', 'gluster_swift', False)
__version__ = _pkginfo.pretty_version
__canonical_version__ = _pkginfo.canonical_version