summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-06-18 00:32:17 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-06-18 00:33:50 (EDT)
commita7cc745ac3cfdea23798cdb8b7ca72d41f8b319c (patch)
tree63df77ccb0866068ec149b8ac525db6c1b1c7960 /src
parentadb164e66c139e40d0904aeab48c844b6a4fa58d (diff)
ob-gencontrol: Fix missing "src-" in source package names
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}