[udisks] Move bash completion to %{_sysconfdir}/bash_completion.d (#584569).

Ville Skyttä scop at fedoraproject.org
Tue Feb 26 19:22:53 UTC 2013


commit c73b5dea0d5e79cfa926432d0fed4a73e3450f6f
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Tue Feb 26 21:22:45 2013 +0200

    Move bash completion to %{_sysconfdir}/bash_completion.d (#584569).

 udisks.spec |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/udisks.spec b/udisks.spec
index be7bd68..4886efc 100644
--- a/udisks.spec
+++ b/udisks.spec
@@ -14,7 +14,7 @@
 Summary: Storage Management Service
 Name: udisks
 Version: 1.0.4
-Release: 10%{?dist}
+Release: 11%{?dist}
 License: GPLv2+
 Group: System Environment/Libraries
 URL: http://www.freedesktop.org/wiki/Software/udisks
@@ -115,6 +115,9 @@ ln -s udisks.1 $RPM_BUILD_ROOT%{_datadir}/man/man1/devkit-disks.1
 
 # TODO: should be fixed upstream
 chmod 0644 $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/udisks-bash-completion.sh
+mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d
+mv $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/udisks-bash-completion.sh \
+    $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d
 
 %find_lang %{name}
 
@@ -124,8 +127,8 @@ chmod 0644 $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/udisks-bash-completion.sh
 %doc README AUTHORS NEWS COPYING HACKING doc/TODO
 
 %{_sysconfdir}/avahi/services/udisks.service
+%{_sysconfdir}/bash_completion.d/
 %{_sysconfdir}/dbus-1/system.d/*.conf
-%{_sysconfdir}/profile.d/*.sh
 /lib/udev/rules.d/*.rules
 
 /lib/udev/udisks-part-id
@@ -156,6 +159,9 @@ chmod 0644 $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/udisks-bash-completion.sh
 
 # Note: please don't forget the %{?dist} in the changelog. Thanks
 %changelog
+* Tue Feb 26 2013 Ville Skyttä <ville.skytta at iki.fi> - 1.0.4-11
+- Move bash completion to %%{_sysconfdir}/bash_completion.d (#584569).
+
 * Sun Feb 24 2013 Dan Mashal <dan.mashal at fedoraproject.org> 1.0.4-10
 - Fix bash completion as per RHBZ 584569
 


More information about the scm-commits mailing list