Control: tags -1 +patch
From be65c57dbb4fd39edf0b75699e1f2a2ed593bf77 Mon Sep 17 00:00:00 2001
From: Jeremy Bicha <jbi...@ubuntu.com>
Date: Thu, 15 Nov 2018 09:52:57 -0500
Subject: [PATCH 1/2] Install pkgconfig files, systemd service & conf file

Closes: #913809
---
 debian/libdaxctl1-dev.install | 7 ++++---
 debian/libdaxctl1.install     | 2 +-
 debian/libndctl6-dev.install  | 6 ++++--
 debian/libndctl6.install      | 2 +-
 debian/ndctl.install          | 6 ++++--
 5 files changed, 14 insertions(+), 9 deletions(-)

diff --git a/debian/libdaxctl1-dev.install b/debian/libdaxctl1-dev.install
index 07b61c1..0bbfbf7 100644
--- a/debian/libdaxctl1-dev.install
+++ b/debian/libdaxctl1-dev.install
@@ -1,3 +1,4 @@
-/usr/include/daxctl/libdaxctl.h
-/usr/include/ndctl/libdaxctl.h
-/usr/lib/*/libdaxctl.so
+usr/include/daxctl/libdaxctl.h
+usr/include/ndctl/libdaxctl.h
+usr/lib/*/libdaxctl.so
+usr/lib/*/pkgconfig/libdaxctl.pc
diff --git a/debian/libdaxctl1.install b/debian/libdaxctl1.install
index deba73e..1d4657d 100644
--- a/debian/libdaxctl1.install
+++ b/debian/libdaxctl1.install
@@ -1 +1 @@
-/usr/lib/*/libdaxctl*so.1*
+usr/lib/*/libdaxctl*so.1*
diff --git a/debian/libndctl6-dev.install b/debian/libndctl6-dev.install
index a94fa91..1582a8f 100644
--- a/debian/libndctl6-dev.install
+++ b/debian/libndctl6-dev.install
@@ -1,2 +1,4 @@
-/usr/include/ndctl/libndctl.h
-/usr/lib/*/libndctl.so
+usr/include/ndctl/ndctl.h
+usr/include/ndctl/libndctl.h
+usr/lib/*/libndctl.so
+usr/lib/*/pkgconfig/libndctl.pc
diff --git a/debian/libndctl6.install b/debian/libndctl6.install
index ca1f08e..37060d4 100644
--- a/debian/libndctl6.install
+++ b/debian/libndctl6.install
@@ -1 +1 @@
-/usr/lib/*/libndctl*so.6*
+usr/lib/*/libndctl*so.6*
diff --git a/debian/ndctl.install b/debian/ndctl.install
index 41367b7..cad3230 100644
--- a/debian/ndctl.install
+++ b/debian/ndctl.install
@@ -1,2 +1,4 @@
-/usr/bin/*
-/usr/share/*
+etc/ndctl
+lib/systemd
+usr/bin/*
+usr/share/*
-- 
2.19.1

From e0e1e8843e4b4bdba153d5af62b8eae9801f6c46 Mon Sep 17 00:00:00 2001
From: Jeremy Bicha <jbi...@ubuntu.com>
Date: Thu, 15 Nov 2018 09:53:40 -0500
Subject: [PATCH 2/2] Use dh_missing --fail-missing

---
 debian/rules | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 8aae8a2..33b25ce 100755
--- a/debian/rules
+++ b/debian/rules
@@ -34,5 +34,9 @@ override_dh_clean:
 	rm -fr config.log
 	dh_clean
 
+override_dh_install:
+	find debian/tmp -name '*.la' -print -delete
+	dh_install
+
 override_dh_missing:
-	dh_missing --list-missing
+	dh_missing --fail-missing
-- 
2.19.1

Reply via email to