summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2011-06-10 14:48:57 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2011-06-10 14:48:57 +0200
commit2cc4999b21d6a4db4e6e08fd3bb760b6030d38cc (patch)
tree98452c337d4a0c0584a00b20e02a0e2c8ead9754 /debian
parent84736cfa351ec734f13cc0016f61108c81dc67e3 (diff)
generate debiandencies for libapt-pkg-dev automatically via deb-substvars
Diffstat (limited to 'debian')
-rw-r--r--debian/control2
-rwxr-xr-xdebian/rules2
2 files changed, 2 insertions, 2 deletions
diff --git a/debian/control b/debian/control
index 9aefcde8d..cf7be1ee5 100644
--- a/debian/control
+++ b/debian/control
@@ -52,7 +52,7 @@ Description: Documentation for APT
Package: libapt-pkg-dev
Architecture: any
Priority: optional
-Depends: libapt-pkg4.10 (= ${binary:Version}), libapt-inst1.2 (= ${binary:Version}), ${misc:Depends}, zlib1g-dev | zlib-dev
+Depends: ${libapt-pkg-name} (= ${binary:Version}), ${libapt-inst-name} (= ${binary:Version}), ${misc:Depends}, zlib1g-dev | zlib-dev
Section: libdevel
Description: Development files for APT's libapt-pkg and libapt-inst
This package contains the header files and libraries for
diff --git a/debian/rules b/debian/rules
index 22eb82ca4..c55435315 100755
--- a/debian/rules
+++ b/debian/rules
@@ -230,7 +230,7 @@ libapt-pkg-dev: build
dh_compress -p$@
dh_fixperms -p$@
dh_installdeb -p$@
- dh_gencontrol -p$@
+ dh_gencontrol -p$@ -Vlibapt-pkg-name=$(LIBAPT_PKG) -Vlibapt-inst-name=$(LIBAPT_INST)
dh_md5sums -p$@
dh_builddeb -p$@