]> git.saurik.com Git - apt.git/commitdiff
generate debiandencies for libapt-pkg-dev automatically via deb-substvars
authorMichael Vogt <michael.vogt@ubuntu.com>
Fri, 10 Jun 2011 12:48:57 +0000 (14:48 +0200)
committerMichael Vogt <michael.vogt@ubuntu.com>
Fri, 10 Jun 2011 12:48:57 +0000 (14:48 +0200)
debian/control
debian/rules

index 9aefcde8d2a7ad170c265837cfd9a02ea29b6161..cf7be1ee5410f2433ad46c36414a6c8bebf6e473 100644 (file)
@@ -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
index 22eb82ca43658566857c2111bd9d43305924cd6c..c55435315eed9f9c6b23a10ae942ebd1fdd979e2 100755 (executable)
@@ -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$@