From 301d9751b8cf1da5b54c3cd4bf64497856a7f4f8 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 11 Apr 2009 04:48:14 +0000 Subject: [PATCH] bash completion script need not be executable --- gvfs-bash-completion.patch | 12 ++++++++++++ gvfs.spec | 8 +++++++- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 gvfs-bash-completion.patch diff --git a/gvfs-bash-completion.patch b/gvfs-bash-completion.patch new file mode 100644 index 0000000..9997d3d --- /dev/null +++ b/gvfs-bash-completion.patch @@ -0,0 +1,12 @@ +diff -up gvfs-1.2.1/programs/Makefile.am.bash-completion gvfs-1.2.1/programs/Makefile.am +--- gvfs-1.2.1/programs/Makefile.am.bash-completion 2009-04-11 00:36:25.730330858 -0400 ++++ gvfs-1.2.1/programs/Makefile.am 2009-04-11 00:36:37.746330659 -0400 +@@ -34,7 +34,7 @@ bin_SCRIPTS = \ + + if ENABLE_BASHCOMP + profiledir = $(BASHCOMP_DIR) +-profile_SCRIPTS = gvfs-bash-completion.sh ++profile_DATA = gvfs-bash-completion.sh + endif + + gvfs_cat_SOURCES = gvfs-cat.c diff --git a/gvfs.spec b/gvfs.spec index 194ca5e..90475a1 100644 --- a/gvfs.spec +++ b/gvfs.spec @@ -1,7 +1,7 @@ Summary: Backends for the gio framework in GLib Name: gvfs Version: 1.2.1 -Release: 3%{?dist} +Release: 4%{?dist} License: LGPLv2+ Group: System Environment/Libraries URL: http://www.gtk.org @@ -32,6 +32,8 @@ BuildRequires: libtool Patch1: gvfs-0.99.2-archive-integration.patch # http://bugzilla.gnome.org/show_bug.cgi?id=573826 Patch2: gvfs-1.1.7-gdu-computer-expose-devices.patch +# http://bugzilla.gnome.org/show_bug.cgi?id=578681 +Patch3: gvfs-bash-completion.patch # Gdu volume monitor patches, from http://cgit.freedesktop.org/~david/gvfs/log/?h=gdu-volume-monitor # @@ -132,6 +134,7 @@ media players (Media Transfer Protocol) to applications using gvfs. %setup -q %patch1 -p0 -b .archive-integration %patch2 -p1 -b .computer-expose-devices +%patch3 -p1 -b .bash-completion %patch101 -p1 -b .gdu-volume-monitor %patch102 -p1 -b .gdu-volumes-typo @@ -283,6 +286,9 @@ update-desktop-database &> /dev/null ||: %changelog +* Sat Apr 11 2009 Matthias Clasen - 1.2.1-4 +- No need for bash completion to be executable + * Thu Apr 9 2009 David Zeuthen - 1.2.1-3 - Clean up gdu patches and bump BR for gdu to 0.3 - Avoiding showing volume for ignored mounts (#495033)