From e3a899f5a12e89685920e57bc37504e4fb6aa35f Mon Sep 17 00:00:00 2001 From: Steve Langasek Date: Fri, 1 Jul 2011 02:04:34 -0700 Subject: Move debian/libpam0g-dev.install to debian/libpam0g-dev.install.in and substitute the multiarch path at build time, so our .a files go to the multiarch dir instead of to /usr/lib. Thanks to Riku Voipio for pointing out the bug. --- debian/changelog | 8 ++++++-- debian/clean | 1 + debian/libpam0g-dev.install | 2 -- debian/libpam0g-dev.install.in | 2 ++ debian/rules | 1 + 5 files changed, 10 insertions(+), 4 deletions(-) delete mode 100644 debian/libpam0g-dev.install create mode 100644 debian/libpam0g-dev.install.in (limited to 'debian') diff --git a/debian/changelog b/debian/changelog index dd2c15dc..7c608a13 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,10 +1,14 @@ -pam (1.1.3-2ubuntu1) UNRELEASED; urgency=low +pam (1.1.3-3) UNRELEASED; urgency=low * Look for /etc/init.d/postgresql, not /etc/init.d/postgresql-8.{2,3}, for service restarts; the latter are obsolete since squeeze. Closes: #631511. + * Move debian/libpam0g-dev.install to debian/libpam0g-dev.install.in + and substitute the multiarch path at build time, so our .a files go to + the multiarch dir instead of to /usr/lib. Thanks to Riku Voipio for + pointing out the bug. - -- Steve Langasek Sat, 25 Jun 2011 12:04:24 -0500 + -- Steve Langasek Fri, 01 Jul 2011 01:42:19 -0700 pam (1.1.3-2) unstable; urgency=low diff --git a/debian/clean b/debian/clean index 4a7c5600..18af497a 100644 --- a/debian/clean +++ b/debian/clean @@ -1,2 +1,3 @@ debian/local/pam_getenv.8 debian/libpam0g-dev.links +debian/libpam0g-dev.install diff --git a/debian/libpam0g-dev.install b/debian/libpam0g-dev.install deleted file mode 100644 index d8f5d831..00000000 --- a/debian/libpam0g-dev.install +++ /dev/null @@ -1,2 +0,0 @@ -usr/include/security/* -lib/*/*.a usr/lib diff --git a/debian/libpam0g-dev.install.in b/debian/libpam0g-dev.install.in new file mode 100644 index 00000000..827690aa --- /dev/null +++ b/debian/libpam0g-dev.install.in @@ -0,0 +1,2 @@ +usr/include/security/* +lib/@DEB_HOST_MULTIARCH@/*.a usr/lib/@DEB_HOST_MULTIARCH@ diff --git a/debian/rules b/debian/rules index 774e4b72..41bb4ee7 100755 --- a/debian/rules +++ b/debian/rules @@ -35,6 +35,7 @@ override_dh_compress: # .install files don't have "except for" handling, so we need to exclude # our module that doesn't match right here override_dh_install: + sed -e"s/@DEB_HOST_MULTIARCH/$(DEB_HOST_MULTIARCH)/g" $(d)/libpam0g-dev.install.in > $(d)/libpam0g-dev.install ifneq (,$(findstring libpam-modules, $(shell dh_listpackages))) dh_install -plibpam-modules -Xpam_cracklib endif -- cgit v1.2.3