ソースを参照

debian: Move dpkg to be the first binary package stanza in debian/control

debhelper assigns special meaning by considering it the main package.
Guillem Jover 9 年 前
コミット
86a6018a6b
共有2 個のファイルを変更した19 個の追加17 個の削除を含む
  1. 2 0
      debian/changelog
  2. 17 17
      debian/control

+ 2 - 0
debian/changelog

@@ -114,6 +114,8 @@ dpkg (1.18.11) UNRELEASED; urgency=medium
     - Remove unused dh_strip from binary_indep target.
     - Remove ancient upgrade code from maintainer scripts (before 1.15.x).
     - Stop compressing the dpkg.deb package with gzip.
+    - Move dpkg to be the first binary package stanza in debian/control, as
+      debhelper assigns special meaning by considering it the main package.
   * Documentation:
     - Update custom changelog parser API support status in README.api.
     - Fix typos in docs and man pages. Thanks to Jakub Wilk <jwilk@debian.org>

+ 17 - 17
debian/control

@@ -25,23 +25,6 @@ Build-Depends:
  libncursesw5-dev,
  libio-string-perl <!nocheck>,
 
-Package: libdpkg-dev
-Section: libdevel
-Priority: optional
-Architecture: any
-Multi-Arch: same
-Depends:
- ${misc:Depends},
- zlib1g-dev,
- liblzma-dev,
- libbz2-dev,
-Description: Debian package management static library
- This package provides the header files and static library necessary to
- develop software using libdpkg, the same library used internally by dpkg.
- .
- Note though, that the API is to be considered volatile, and might change
- at any time, use at your own risk.
-
 Package: dpkg
 Architecture: any
 Multi-Arch: foreign
@@ -76,6 +59,23 @@ Description: Debian package management system
  .
  For Debian package development tools, install dpkg-dev.
 
+Package: libdpkg-dev
+Section: libdevel
+Priority: optional
+Architecture: any
+Multi-Arch: same
+Depends:
+ ${misc:Depends},
+ zlib1g-dev,
+ liblzma-dev,
+ libbz2-dev,
+Description: Debian package management static library
+ This package provides the header files and static library necessary to
+ develop software using libdpkg, the same library used internally by dpkg.
+ .
+ Note though, that the API is to be considered volatile, and might change
+ at any time, use at your own risk.
+
 Package: dpkg-dev
 Section: utils
 Priority: optional