summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2020-06-17 14:03:23 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2020-06-17 14:03:23 (EDT)
commitbc6d37a583b931fb9378560a9c1b55784c622ac9 (patch)
tree8e3fc2035a3b32d973db1422f896f7c2901f9c0a
parentcf09c0ea05db8158d2cd781d0315730fc58162cf (diff)
ob-genchanges: Put source packages in src section
-rw-r--r--NEWS2
-rw-r--r--src/ob-genchanges.sh2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index fac76c3..6d6937e 100644
--- a/NEWS
+++ b/NEWS
@@ -13,6 +13,8 @@ Utilities:
package format version.
* ob-gencontrol now generates a "Section" field when defined for a
binary package.
+ * ob-genchanges now organizes source packages into section "src"
+ instead of "base".
libopkbuild:
diff --git a/src/ob-genchanges.sh b/src/ob-genchanges.sh
index 9e8c75a..b427bc3 100644
--- a/src/ob-genchanges.sh
+++ b/src/ob-genchanges.sh
@@ -66,7 +66,7 @@ write_files_src()
file="src-${OPK_SOURCE}_${OPK_SOURCE_VERSION}_src_all.opk"
printf ' %s %s %s\n' \
"$(wc -c "../../${file}" | cut -d ' ' -f 1)" \
- 'base' "${file}" >&3
+ 'src' "${file}" >&3
return 0
}