summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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