summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-06-18 11:12:58 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-06-18 11:12:58 (EDT)
commitb33a30af8a14e9b0c60ef2050829702c693a04c1 (patch)
tree185c3eac59a1f8cae8aee9472814bd3aefcb94b1
parent5a32fb119bf937e18bb57ac34a8b2182c9130f9b (diff)
ob-gencontrol: Populate Binary field
-rw-r--r--NEWS5
-rw-r--r--src/ob-gencontrol.sh4
2 files changed, 7 insertions, 2 deletions
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