summaryrefslogtreecommitdiff
path: root/debian/control
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2016-08-06 05:10:36 +0200
committerJulian Andres Klode <jak@debian.org>2016-08-06 22:35:54 +0200
commit2b54bc754edb937a5c9bfe6e0e62c2787d760976 (patch)
treebf571e9c5fc5d7c379fee5964723844ffcd7fd02 /debian/control
parentf7a46d97368044e8a69f5a51067b5a0e12241d42 (diff)
debian/control: Use versioned provides for same-ver library deps
This simplifies the design a bit, as we do not need to read the major ABI version number from some file / command. Gbp-Dch: ignore
Diffstat (limited to 'debian/control')
-rw-r--r--debian/control4
1 files changed, 3 insertions, 1 deletions
diff --git a/debian/control b/debian/control
index 77b62b4ef..daaff0e2d 100644
--- a/debian/control
+++ b/debian/control
@@ -47,6 +47,7 @@ Depends: ${shlibs:Depends}, ${misc:Depends}
Breaks: apt (<< 1.1~exp14), libapt-inst1.5 (<< 0.9.9~), appstream (<< 0.9.0-3~)
Recommends: apt (>= ${binary:Version})
Section: libs
+Provides: libapt-pkg (= ${binary:Version})
Description: package management runtime library
This library provides the common functionality for searching and
managing packages as well as information about packages.
@@ -69,6 +70,7 @@ Multi-Arch: same
Pre-Depends: ${misc:Pre-Depends}
Depends: ${shlibs:Depends}, ${misc:Depends}
Section: libs
+Provides: libapt-inst (= ${binary:Version})
Description: deb package format runtime library
This library provides methods to query and extract information
from deb packages. This includes the control data and the package
@@ -88,7 +90,7 @@ Architecture: any
Multi-Arch: same
Priority: optional
Pre-Depends: ${misc:Pre-Depends}
-Depends: ${libapt-pkg-name} (= ${binary:Version}), ${libapt-inst-name} (= ${binary:Version}), ${misc:Depends}, zlib1g-dev
+Depends: libapt-pkg (= ${binary:Version}), libapt-inst (= ${binary:Version}), ${misc:Depends}, zlib1g-dev
Section: libdevel
Description: development files for APT's libapt-pkg and libapt-inst
This package contains the header files and libraries for