[med-svn] [inspect] 01/03: Install files in Debian Med scope to solve name space conflict

Andreas Tille tille at debian.org
Thu Oct 1 11:04:30 UTC 2015


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository inspect.

commit efc130fb490ece3e59fbf4acfd2bf5ebb7e3c8f5
Author: Andreas Tille <tille at debian.org>
Date:   Thu Oct 1 12:56:09 2015 +0200

    Install files in Debian Med scope to solve name space conflict
---
 debian/control | 1 +
 debian/install | 2 ++
 debian/links   | 2 ++
 debian/rules   | 5 -----
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/debian/control b/debian/control
index 33477ea..968ede5 100644
--- a/debian/control
+++ b/debian/control
@@ -17,6 +17,7 @@ Package: inspect
 Architecture: any
 Depends: ${python:Depends},
          ${misc:Depends}
+Recommends: med-config (>= 2.1)
 Description: mass-spectrometry database search tool
  Inspect is a MS/MS database search tool specifically designed to address
  two crucial needs of the proteomics comminuty: post-translational
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..7ce3052
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,2 @@
+inspect usr/lib/debian-med/bin/
+*.py	usr/share/inspect
diff --git a/debian/links b/debian/links
new file mode 100644
index 0000000..82940b7
--- /dev/null
+++ b/debian/links
@@ -0,0 +1,2 @@
+# conserve the original name in Debian Med scope
+usr/lib/debian-med/bin/inspect	usr/bin/ms-inspect
diff --git a/debian/rules b/debian/rules
index 7b3c442..39bd625 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,10 +7,5 @@ DEBPKGNAME	:= $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
 %:
 	dh $@ --with python2
 
-override_dh_install:
-	# due to name conflict with libboost-tools-dev we need to rename the binary
-	mkdir -p debian/$(DEBPKGNAME)/usr/bin
-	mv inspect debian/$(DEBPKGNAME)/usr/bin/ms-inspect
-
 get-orig-source:
 	sh debian/get-orig-source

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/inspect.git



More information about the debian-med-commit mailing list