Kaynağa Gözat

dpkg-genchanges: Add missing Dpkg::BuildProfiles imports

Regression introduced in commit 61e228eb7b68b85529dc8e9c9c49ef7f51a797bb.

Closes: #764216

Reported-by: Johannes Schauer <j.schauer@email.de>
Guillem Jover 11 yıl önce
ebeveyn
işleme
f7dec25b62
2 değiştirilmiş dosya ile 5 ekleme ve 1 silme
  1. 3 0
      debian/changelog
  2. 2 1
      scripts/dpkg-genchanges.pl

+ 3 - 0
debian/changelog

@@ -10,6 +10,9 @@ dpkg (1.17.17) UNRELEASED; urgency=low
     Closes: #671711
   * Do not write to the database when changing selections with --dry-run.
     Closes: #764673
+  * Add missing imports from Dpkg::BuildProfiles in dpkg-genchanges.
+    Regression introduced in dpkg 1.17.14. Closes: #764216
+    Reported by Johannes Schauer <j.schauer@email.de>.
 
   [ Updated programs translations ]
   * German (Sven Joachim).

+ 2 - 1
scripts/dpkg-genchanges.pl

@@ -31,7 +31,8 @@ use Dpkg::Util qw(:list);
 use Dpkg::File;
 use Dpkg::Checksums;
 use Dpkg::ErrorHandling;
-use Dpkg::BuildProfiles qw(get_build_profiles);
+use Dpkg::BuildProfiles qw(get_build_profiles parse_build_profiles
+                           evaluate_restriction_formula);
 use Dpkg::Arch qw(get_host_arch debarch_eq debarch_is);
 use Dpkg::Compression;
 use Dpkg::Control::Info;