summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ob-gencontrol.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ob-gencontrol.sh b/src/ob-gencontrol.sh
index 2e14e6a..e1fffdf 100644
--- a/src/ob-gencontrol.sh
+++ b/src/ob-gencontrol.sh
@@ -77,7 +77,8 @@ gen_control_src()
# ob_get_binary_packages(). See comment and code in opkbuild
# setup_build().
cat >"${binary}.control/control" <<-EOF
- Package: ${OPK_SOURCE}
+ Package: src-${OPK_SOURCE}
+ Source: ${OPK_SOURCE}
Binary:$(printf '%s\n' ${OPK_PACKAGES} | LC_ALL='C' sort | \
xargs printf ' %s')
Version: ${OPK_SOURCE_VERSION}