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 --- setup.py | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index abfd206..82b2a76 100644 --- a/setup.py +++ b/setup.py @@ -15,21 +15,17 @@ # limitations under the License. from setuptools import setup, find_packages - -from gluster.swift import __canonical_version__ as version - - -name = 'gluster_swift' +from gluster.swift import _pkginfo setup( - name=name, - version=version, + name=_pkginfo.name, + version=_pkginfo.full_version, description='Gluster For Swift', license='Apache License (2.0)', author='Red Hat, Inc.', author_email='gluster-users@gluster.org', - url='https://forge.gluster.org/gluster-swift', + url='http://launchpad.net/gluster-swift', packages=find_packages(exclude=['test', 'bin']), test_suite='nose.collector', classifiers=[ -- cgit