From 6559ac5d51cd843cbb91dbe7545201d182c5632dcce867c5a989014b9642243b Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Thu, 4 Jun 2015 06:58:52 +0000 Subject: [PATCH] Accepting request 309744 from filesystems 1 OBS-URL: https://build.opensuse.org/request/show/309744 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/btrfsprogs?expand=0&rev=57 --- btrfsprogs.changes | 5 +++++ btrfsprogs.spec | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/btrfsprogs.changes b/btrfsprogs.changes index 0adada1..0c40cd6 100644 --- a/btrfsprogs.changes +++ b/btrfsprogs.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 2 07:57:43 UTC 2015 - antoine.belvire@laposte.net + +- Install bash completion for btrfs. + ------------------------------------------------------------------- Wed Apr 29 00:00:00 CEST 2015 - dsterba@suse.cz diff --git a/btrfsprogs.spec b/btrfsprogs.spec index 2d758be..a6dd55f 100644 --- a/btrfsprogs.spec +++ b/btrfsprogs.spec @@ -123,6 +123,9 @@ install -m 0755 %{SOURCE4} %{buildroot}/lib/mkinitrd/scripts/ find %{buildroot} -type f -name "*.la" -delete -print # don't install .a for now rm -f %{buildroot}/%{_libdir}/*.a +# bash completion +install -m 0755 -d %{buildroot}/%{_datadir}/bash-completion/completions +install -m 0644 btrfs-completion %{buildroot}/%{_datadir}/bash-completion/completions/btrfs %if 0%{!?for_debugging:1} DEBUG_FILES="/sbin/btrfs-find-root @@ -202,6 +205,9 @@ done %{_mandir}/man8/btrfs-scrub.8.gz %{_mandir}/man8/btrfs-send.8.gz %{_mandir}/man8/btrfs-subvolume.8.gz +%dir %{_datadir}/bash-completion +%dir %{_datadir}/bash-completion/completions +%{_datadir}/bash-completion/completions/btrfs %if 0%{?for_debugging:1} /sbin/btrfs-find-root