Package: bugs-everywhere
Version: 1.1.1-3
Severity: wishlist

Hello and thank you for packaging bugs-everywhere.

A small patch to install the Bash completion script "misc/completion/be.bash" is
attached.
Lintian complained that the script is not executable but none of the installed
files in /etc/bash_completion.d/ are (as they are being sourced rather than
executed).

Bye,
Federico

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (600, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.12-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages bugs-everywhere depends on:
ii  python         2.7.5-5
ii  python-jinja2  2.7.2-2
ii  python-yaml    3.10-4+b2

Versions of packages bugs-everywhere recommends:
ii  bzr        2.6.0+bzr6591-1
ii  darcs      2.8.4-3+b1
ii  git        1:1.9.0-1
ii  mercurial  2.9-1
ii  monotone   1.0-11
ii  rcs        5.9.2-1
ii  tla        1.3.5+dfsg-18

bugs-everywhere suggests no packages.

-- no debconf information
diff --git a/debian/bugs-everywhere.bash-completion b/debian/bugs-everywhere.bash-completion
new file mode 100644
index 0000000..9c812bc
--- /dev/null
+++ b/debian/bugs-everywhere.bash-completion
@@ -0,0 +1 @@
+misc/completion/be.bash be
diff --git a/debian/control b/debian/control
index ede50cf..7ab8a49 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,7 @@ Homepage: http://bugseverywhere.org/
 VCS-git: git://git.debian.org/git/dgit-repos/repos/bugs-everywhere.git
 VCS-Browser: http://anonscm.debian.org/gitweb/?p=dgit-repos/repos/bugs-everywhere.git;a=summary
 Build-Depends-Indep:
+    bash-completion,
     debhelper (>= 9),
     libparse-debianchangelog-perl,
     docbook-to-man,
diff --git a/debian/rules b/debian/rules
index a5c1395..0a682d1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,6 +15,7 @@
 
 override_dh_auto_install:
 	dh_auto_install -- INSTALL_OPTIONS="--install-layout=deb --root=$(CURDIR)/debian/bugs-everywhere --prefix=/usr" LIBBE_VERSION=
+	dh_bash-completion
 
 # this mess is to automatically generate the _version.py file that contains git commit metadata
 # since we usually build in a clean export of the git repository, the upstream build system fails

Reply via email to