Просмотр исходного кода

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
Julian Andres Klode лет назад: 10
Родитель
Сommit
2b54bc754e
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      debian/control

+ 3 - 1
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~)
 Breaks: apt (<< 1.1~exp14), libapt-inst1.5 (<< 0.9.9~), appstream (<< 0.9.0-3~)
 Recommends: apt (>= ${binary:Version})
 Recommends: apt (>= ${binary:Version})
 Section: libs
 Section: libs
+Provides: libapt-pkg (= ${binary:Version})
 Description: package management runtime library
 Description: package management runtime library
  This library provides the common functionality for searching and
  This library provides the common functionality for searching and
  managing packages as well as information about packages.
  managing packages as well as information about packages.
@@ -69,6 +70,7 @@ Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
 Pre-Depends: ${misc:Pre-Depends}
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Section: libs
 Section: libs
+Provides: libapt-inst (= ${binary:Version})
 Description: deb package format runtime library
 Description: deb package format runtime library
  This library provides methods to query and extract information
  This library provides methods to query and extract information
  from deb packages. This includes the control data and the package
  from deb packages. This includes the control data and the package
@@ -88,7 +90,7 @@ Architecture: any
 Multi-Arch: same
 Multi-Arch: same
 Priority: optional
 Priority: optional
 Pre-Depends: ${misc:Pre-Depends}
 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
 Section: libdevel
 Description: development files for APT's libapt-pkg and libapt-inst
 Description: development files for APT's libapt-pkg and libapt-inst
  This package contains the header files and libraries for
  This package contains the header files and libraries for