From b33a30af8a14e9b0c60ef2050829702c693a04c1 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Tue, 18 Jun 2019 11:12:58 -0400 Subject: ob-gencontrol: Populate Binary field --- diff --git a/NEWS b/NEWS index 3c28b3e..c51ddee 100644 --- a/NEWS +++ b/NEWS @@ -3,6 +3,11 @@ opkbuild version 4.1.1+dev Released: ????-??-?? +Utilities: + + * ob-gencontrol now actually populates the source package field + "Binary" added in version 4.1.0. + opkbuild version 4.1.1 ---------------------- diff --git a/src/ob-gencontrol.sh b/src/ob-gencontrol.sh index e1fffdf..3fb1aac 100644 --- a/src/ob-gencontrol.sh +++ b/src/ob-gencontrol.sh @@ -79,8 +79,8 @@ gen_control_src() cat >"${binary}.control/control" <<-EOF Package: src-${OPK_SOURCE} Source: ${OPK_SOURCE} - Binary:$(printf '%s\n' ${OPK_PACKAGES} | LC_ALL='C' sort | \ - xargs printf ' %s') + Binary:$(printf '%s\n' $(ob_get_binary_packages) | \ + LC_ALL='C' sort | xargs printf ' %s') Version: ${OPK_SOURCE_VERSION} Architecture: src Platform: all -- cgit v0.9.1