[python-glanceclient] rename client script

Alan Pevec apevec at fedoraproject.org
Fri Aug 3 11:32:10 UTC 2012


commit 845a9a6466e84f7868504e22a5b89f716705ea27
Author: Alan Pevec <apevec at redhat.com>
Date:   Fri Aug 3 12:31:57 2012 +0200

    rename client script
    
    to avoid conflict with old glance client from openstack-glance RPM

 python-glanceclient.spec |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/python-glanceclient.spec b/python-glanceclient.spec
index 60cb4c2..e2365a7 100644
--- a/python-glanceclient.spec
+++ b/python-glanceclient.spec
@@ -1,6 +1,6 @@
 Name:             python-glanceclient
 Version:          2012.2
-Release:          0.2.f1%{?dist}
+Release:          0.3.f1%{?dist}
 Summary:          Python API and CLI for OpenStack Glance
 
 Group:            Development/Languages
@@ -34,6 +34,9 @@ glanceclient module), and a command-line script (glance). Each implements
 
 %install
 %{__python} setup.py install -O1 --skip-build --root %{buildroot}
+# rename client script to avoid conflict with old glance client
+# from openstack-glance RPM
+mv %{buildroot}%{_bindir}/glance %{buildroot}%{_bindir}/glance-client
 
 # Delete tests
 rm -fr %{buildroot}%{python_sitelib}/tests
@@ -41,11 +44,14 @@ rm -fr %{buildroot}%{python_sitelib}/tests
 %files
 %doc README.rst
 %doc LICENSE
-%{_bindir}/glance
+%{_bindir}/glance-client
 %{python_sitelib}/glanceclient
 %{python_sitelib}/*.egg-info
 
 %changelog
+* Fri Aug 03 2012 Alan Pevec <apevec at redhat.com> 2012.2-0.3.f1
+- rename client script to avoid conflict with old glance client
+
 * Sat Jul 21 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2012.2-0.2.f1
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list