[openstack-glance] Spec cleanups

Haïkel Guémar hguemar at fedoraproject.org
Fri Oct 17 19:54:27 UTC 2014


commit 0373b524da70ba3d0b91544a995fbb9d192a0206
Author: Haïkel Guémar <hguemar at fedoraproject.org>
Date:   Fri Oct 17 21:54:20 2014 +0200

     Spec cleanups

 openstack-glance.spec |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/openstack-glance.spec b/openstack-glance.spec
index 7c940e3..d976fb2 100644
--- a/openstack-glance.spec
+++ b/openstack-glance.spec
@@ -182,7 +182,7 @@ done
 %{__python} setup.py install -O1 --skip-build --root %{buildroot}
 
 # Delete tests
-rm -fr %{buildroot}%{python_sitelib}/glance/tests
+rm -fr %{buildroot}%{python2_sitelib}/glance/tests
 
 # Drop old glance CLI it has been deprecated
 # and replaced glanceclient
@@ -318,9 +318,8 @@ exit 0
 
 %files -n python-glance
 %doc README.rst
-%{python_sitelib}/glance
-%{python_sitelib}/glance-%{version}*.egg-info
-
+%{python2_sitelib}/glance
+%{python2_sitelib}/glance-%{version}*.egg-info
 
 %files doc
 %doc doc/build/html


More information about the scm-commits mailing list