diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-06-18 11:17:05 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-06-18 11:17:05 (EDT) |
commit | ce0e5efb42de19d7ecf2bbf1d88444752edb66f6 (patch) | |
tree | c25245d19a1f01f7eb2a4adbbaaa65d1e8f556e8 | |
parent | c33cc15484a6f60394713f79d8037a6a43fa7120 (diff) |
patches: Fix ob-gencontrol
-rw-r--r-- | changelog | 2 | ||||
-rw-r--r-- | patches/0001-ob-gencontrol-Populate-Binary-field.patch | 27 |
2 files changed, 29 insertions, 0 deletions
@@ -3,6 +3,8 @@ opkbuild (4.1.1-1) trunk * New upstream version. * Update Maintainer. * libopkbuild.2, opkbuild, opkbuild-doc: Update package descriptions. + * Apply patch from upstream to fix ob-gencontrol's generation of "Binary" + fields. -- Patrick McDermott <patrick.mcdermott@libiquity.com> Tue, 18 Jun 2019 10:08:23 -0400 diff --git a/patches/0001-ob-gencontrol-Populate-Binary-field.patch b/patches/0001-ob-gencontrol-Populate-Binary-field.patch new file mode 100644 index 0000000..58715f4 --- /dev/null +++ b/patches/0001-ob-gencontrol-Populate-Binary-field.patch @@ -0,0 +1,27 @@ +From b33a30af8a14e9b0c60ef2050829702c693a04c1 Mon Sep 17 00:00:00 2001 +From: Patrick McDermott <patrick.mcdermott@libiquity.com> +Date: Tue, 18 Jun 2019 11:12:58 -0400 +Subject: [PATCH] ob-gencontrol: Populate Binary field + +--- + src/ob-gencontrol.sh | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +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 +-- +2.11.0 + |