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

Add Pre-Depends on tar >= 1.23 to dpkg

That's the tar version introducing the ‘--warning=no-timestamp’ option,
which dpkg started to use due to #640298. The version is satisfied in
stable, but making the dependency explicit is useful for systems
upgrading from oldstable directly to testing (or next stable), even if
that's not generally supported.

Closes: #642802
Guillem Jover лет назад: 14
Родитель
Сommit
971f369894
2 измененных файлов с 3 добавлено и 1 удалено
  1. 2 0
      debian/changelog
  2. 1 1
      debian/control

+ 2 - 0
debian/changelog

@@ -22,6 +22,8 @@ dpkg (1.16.2) UNRELEASED; urgency=low
   * Improve error message in dpkg-gencontrol and dpkg-gensymbols when
   * Improve error message in dpkg-gencontrol and dpkg-gensymbols when
     debian/control does not have any package stanza. Closes: #642473
     debian/control does not have any package stanza. Closes: #642473
     Based on a patch by Kyle Willmon <kylewillmon@gmail.com>.
     Based on a patch by Kyle Willmon <kylewillmon@gmail.com>.
+  * Add Pre-Depends on tar >= 1.23 (satisfied in stable) to dpkg due to it
+    using the ‘--warning=no-timestamp’ option. Closes: 642802
 
 
   [ Raphaël Hertzog ]
   [ Raphaël Hertzog ]
   * Update Dpkg::Shlibs to look into multiarch paths when cross-building
   * Update Dpkg::Shlibs to look into multiarch paths when cross-building

+ 1 - 1
debian/control

@@ -31,7 +31,7 @@ Description: Debian package management static library
 Package: dpkg
 Package: dpkg
 Architecture: any
 Architecture: any
 Essential: yes
 Essential: yes
-Pre-Depends: ${shlibs:Depends}, xz-utils
+Pre-Depends: ${shlibs:Depends}, tar (>= 1.23), xz-utils
 Depends: ${misc:Depends}
 Depends: ${misc:Depends}
 Breaks: dpkg-dev (<< 1.15.8), libdpkg-perl (<< 1.15.8),
 Breaks: dpkg-dev (<< 1.15.8), libdpkg-perl (<< 1.15.8),
  apt (<< 0.7.7), aptitude (<< 0.4.7-1),
  apt (<< 0.7.7), aptitude (<< 0.4.7-1),