[python-novaclient] Include bash_completion file (#872544) (Alvaro Lopez Ortega)
Alan Pevec
apevec at fedoraproject.org
Fri Dec 21 20:57:08 UTC 2012
commit 697e4ca40c9fdd14ba55369635878cb89bf40950
Author: Alan Pevec <apevec at redhat.com>
Date: Fri Dec 21 21:45:28 2012 +0100
Include bash_completion file (#872544) (Alvaro Lopez Ortega)
python-novaclient.spec | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/python-novaclient.spec b/python-novaclient.spec
index 5a555d0..6f5c72f 100644
--- a/python-novaclient.spec
+++ b/python-novaclient.spec
@@ -1,7 +1,7 @@
Name: python-novaclient
Epoch: 1
Version: 2.10.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Python API and CLI for OpenStack Nova
Group: Development/Languages
@@ -48,6 +48,9 @@ sed -i '/setup_requires/d; /install_requires/d; /dependency_links/d' setup.py
%install
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
+mkdir -p %{buildroot}%{_sysconfdir}/bash_completion.d
+install -pm 644 tools/nova.bash_completion %{buildroot}%{_sysconfdir}/bash_completion.d/nova
+
# Delete tests
rm -fr %{buildroot}%{python_sitelib}/tests
# Delete versioninfo file
@@ -65,11 +68,15 @@ rm -fr html/.doctrees html/.buildinfo
%{_bindir}/nova
%{python_sitelib}/novaclient
%{python_sitelib}/*.egg-info
+%{_sysconfdir}/bash_completion.d
%files doc
%doc html
%changelog
+* Fri Dec 21 2012 Alan Pevec <apevec at redhat.com> 2.10.0-2
+- Include bash_completion file (#872544) (Alvaro Lopez Ortega)
+
* Mon Dec 03 2012 Alan Pevec <apevec at redhat.com> 2.10.0-1
- Update to latest upstream release
More information about the scm-commits
mailing list