diff -Nru pkg-create-dbgsym-0.72/debian/changelog pkg-create-dbgsym-0.73/debian/changelog --- pkg-create-dbgsym-0.72/debian/changelog 2016-03-15 21:39:20.000000000 +0000 +++ pkg-create-dbgsym-0.73/debian/changelog 2016-11-13 22:32:28.000000000 +0000 @@ -1,3 +1,10 @@ +pkg-create-dbgsym (0.73) zesty; urgency=medium + + * Remove also Built-Using field, to fix some builds + (e.g. lazarus) + + -- Gianfranco Costamagna Sun, 13 Nov 2016 22:06:40 +0100 + pkg-create-dbgsym (0.72) xenial; urgency=medium * Remove all the code to deal with DH_COMPAT=1, as debhelper now fails diff -Nru pkg-create-dbgsym-0.72/pkg_create_dbgsym pkg-create-dbgsym-0.73/pkg_create_dbgsym --- pkg-create-dbgsym-0.72/pkg_create_dbgsym 2016-03-15 21:06:30.000000000 +0000 +++ pkg-create-dbgsym-0.73/pkg_create_dbgsym 2016-11-13 21:06:05.000000000 +0000 @@ -187,7 +187,7 @@ # generate a control file for current package (since it is usually not yet # existing) and adapt it to be suitable for the dbgsym package -perl -p000 -e 's/^#.*?\n//msg; s/^(?:Pre-Depends|Depends|Recommends|Suggests|Conflicts|Provides|Replaces|Breaks|Enhances|Essential):.*?\n(?![ \t])//msg' debian/control | +perl -p000 -e 's/^#.*?\n//msg; s/^(?:Pre-Depends|Depends|Recommends|Suggests|Conflicts|Provides|Replaces|Breaks|Built-Using|Enhances|Essential):.*?\n(?![ \t])//msg' debian/control | dpkg-gencontrol -c- -fdhstrip-dummy-debian-files.${pkgname} -p$pkgname -Pdebian/$pkgname-dbgsym -Tdebian/$pkgname.substvars -O | sed "s/^Priority:.*$/Priority: extra/; s/^Version: \(.*\)$/&\nDepends: $depends/;