From f54e06b612a6fdf04827ae32503dac5a7da5eb4e Mon Sep 17 00:00:00 2001 From: Luis Pabon Date: Wed, 13 Nov 2013 16:01:40 -0500 Subject: 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 Reviewed-on: http://review.gluster.org/6261 Reviewed-by: Thiago Da Silva Tested-by: Thiago Da Silva --- gluster/swift/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gluster') diff --git a/gluster/swift/__init__.py b/gluster/swift/__init__.py index e5e5af1..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.1', '0', 'glusterfs-openstack-swift', False) +_pkginfo = PkgInfo('1.10.1', '0', 'gluster_swift', False) __version__ = _pkginfo.pretty_version __canonical_version__ = _pkginfo.canonical_version -- cgit