summaryrefslogtreecommitdiffstats
path: root/ipa.spec.in
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2009-11-23 16:19:14 -0500
committerJason Gerard DeRose <jderose@redhat.com>2009-11-25 08:48:38 -0700
commit8a7c22939df36e40f32fa96c535e609791482b11 (patch)
tree1cb402365e6ee61e748ac1f3c4dcdea6c8ac993a /ipa.spec.in
parenta094dfa91c88c1bd594b9fc29c8ba3639d3b3e90 (diff)
downloadfreeipa-8a7c22939df36e40f32fa96c535e609791482b11.tar.gz
freeipa-8a7c22939df36e40f32fa96c535e609791482b11.tar.xz
freeipa-8a7c22939df36e40f32fa96c535e609791482b11.zip
Bash tab completion script
Diffstat (limited to 'ipa.spec.in')
-rw-r--r--ipa.spec.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/ipa.spec.in b/ipa.spec.in
index 659a76ae..5e24eedc 100644
--- a/ipa.spec.in
+++ b/ipa.spec.in
@@ -245,6 +245,7 @@ rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
cd selinux
make install DESTDIR=%{buildroot}
+cd ..
%else
make client-install DESTDIR=%{buildroot}
%endif
@@ -275,6 +276,11 @@ mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/
%endif
mkdir -p %{buildroot}/%{_localstatedir}/lib/ipa-client/sysrestore
+%if ! %{ONLY_CLIENT}
+mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d
+install -pm 644 contrib/completion/ipa.bash_completion $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d/ipa
+%endif
+
%clean
rm -rf %{buildroot}
@@ -440,6 +446,7 @@ fi
%{_sbindir}/ipa-ldap-updater
%{_sbindir}/ipa-compat-manage
%{_sbindir}/ipa-nis-manage
+%{_sysconfdir}/bash_completion.d
%endif
%files python
@@ -474,6 +481,10 @@ fi
%endif
%changelog
+* Fri Nov 13 2009 Rob Crittenden <rcritten@redhat.com> - 1.99-10
+- Add bash completion script and own /etc/bash_completion.d in case it
+ doesn't already exist
+
* Tue Nov 3 2009 Rob Crittenden <rcritten@redhat.com> - 1.99-9
- Remove ipa_webgui, its functions rolled into ipa_httpd