[libquantum] 01/01: Make package libquantum8 "Multi-Arch: same" and update debian/rules and debian/*.install files accordingly.

Boris Pek tehnick-guest at moszumanska.debian.org
Thu Oct 16 21:37:17 UTC 2014


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

tehnick-guest pushed a commit to branch master
in repository libquantum.

commit 6a04ed455bdba6deabb3cada7676b550bae73614
Author: Boris Pek <tehnick-8 at yandex.ru>
Date:   Fri Oct 17 01:36:26 2014 +0400

    Make package libquantum8 "Multi-Arch: same" and update
    debian/rules and debian/*.install files accordingly.
---
 debian/control                | 1 +
 debian/libquantum-dev.install | 4 ++--
 debian/libquantum8.install    | 2 +-
 debian/rules                  | 7 +++++++
 4 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/debian/control b/debian/control
index 5909af9..828f048 100644
--- a/debian/control
+++ b/debian/control
@@ -36,6 +36,7 @@ Description: library for the simulation of a quantum computer (development files
 Package: libquantum8
 Architecture: any
 Depends: ${misc:Depends}, ${shlibs:Depends}
+Multi-Arch: same
 Description: library for the simulation of a quantum computer
  libquantum is a C library for the simulation of a quantum computer. Based on
  the principles of quantum mechanics, it provides an implementation of a
diff --git a/debian/libquantum-dev.install b/debian/libquantum-dev.install
index cd5c7ed..277a4fa 100644
--- a/debian/libquantum-dev.install
+++ b/debian/libquantum-dev.install
@@ -1,3 +1,3 @@
 usr/include/*
-usr/lib/libquantum.a
-usr/lib/libquantum.so
+usr/lib/*/libquantum.a
+usr/lib/*/libquantum.so
diff --git a/debian/libquantum8.install b/debian/libquantum8.install
index baabbbf..30c93a0 100644
--- a/debian/libquantum8.install
+++ b/debian/libquantum8.install
@@ -1 +1 @@
-usr/lib/libquantum.so.*
+usr/lib/*/libquantum.so.*
diff --git a/debian/rules b/debian/rules
index 8fac65a..281b567 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,8 @@
 export DEB_CFLAGS_MAINT_APPEND = $(shell dpkg-buildflags --get CPPFLAGS)
 export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
 
+export DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+
 %:
 	dh $@ --parallel --list-missing
 
@@ -20,5 +22,10 @@ override_dh_auto_clean:
 	rm -f build-stamp configure-stamp
 	rm -f Makefile libtool
 
+override_dh_auto_install:
+	dh_auto_install
+	mkdir -p $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/
+	mv $(CURDIR)/debian/tmp/usr/lib/libquantum.* $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/
+
 get-orig-source:
 	uscan --noconf --verbose --force-download --rename --download-current-version

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/libquantum.git



More information about the debian-science-commits mailing list