From ce0e5efb42de19d7ecf2bbf1d88444752edb66f6 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Tue, 18 Jun 2019 11:17:05 -0400 Subject: patches: Fix ob-gencontrol --- diff --git a/changelog b/changelog index 194d6fe..8cfba92 100644 --- a/changelog +++ b/changelog @@ -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 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 +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 + -- cgit v0.9.1