From 8f43e70819334ce05de96aec717a7074a8929099 Mon Sep 17 00:00:00 2001 From: Andres Mejia Date: Sun, 8 Jan 2012 13:26:55 -0500 Subject: [PATCH] Convert library to support multi-arch. --- debian/compat | 2 +- debian/control | 4 +++- debian/libnfs-dev.install | 4 ++-- debian/libnfs1.install | 2 +- debian/source/lintian-overrides | 2 ++ 5 files changed, 9 insertions(+), 5 deletions(-) create mode 100644 debian/source/lintian-overrides diff --git a/debian/compat b/debian/compat index 7f8f011..ec63514 100644 --- a/debian/compat +++ b/debian/compat @@ -1 +1 @@ -7 +9 diff --git a/debian/control b/debian/control index e47c050..28c6151 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: libnfs Section: libs Priority: optional Maintainer: Andres Mejia -Build-Depends: debhelper (>= 7.0.50~) +Build-Depends: debhelper (>= 8.1.3~) Standards-Version: 3.9.2 Homepage: https://github.com/sahlberg/libnfs Vcs-Git: git://anonscm.debian.org/collab-maint/libnfs.git @@ -25,6 +25,8 @@ Description: NFS client library (development files) Package: libnfs1 Architecture: any +Multi-Arch: same +Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: NFS client library (shared library) LIBNFS is a client library for accessing NFS shares over a network. diff --git a/debian/libnfs-dev.install b/debian/libnfs-dev.install index 746c714..269ec2c 100644 --- a/debian/libnfs-dev.install +++ b/debian/libnfs-dev.install @@ -1,3 +1,3 @@ usr/include -usr/lib/libnfs.so -usr/lib/libnfs.a +usr/lib/*/libnfs.so +usr/lib/*/libnfs.a diff --git a/debian/libnfs1.install b/debian/libnfs1.install index da98ed8..0e85b13 100644 --- a/debian/libnfs1.install +++ b/debian/libnfs1.install @@ -1 +1 @@ -usr/lib/libnfs.so.* +usr/lib/*/libnfs.so.* diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides new file mode 100644 index 0000000..b051ec9 --- /dev/null +++ b/debian/source/lintian-overrides @@ -0,0 +1,2 @@ +# Only Build-Depends on debhelper (>= 8.1.3~) is needed, so ignore this. +libnfs source: package-needs-versioned-debhelper-build-depends 9 -- 2.34.1