From e83b58d51eca2bf082cea326e712570aa51c4ad1 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Thu, 25 Oct 2012 16:44:00 -0400 Subject: Reduce platforms in dep fields in ob-gencontrol. --- diff --git a/src/ob-gencontrol.sh b/src/ob-gencontrol.sh index b85ec96..859e47a 100644 --- a/src/ob-gencontrol.sh +++ b/src/ob-gencontrol.sh @@ -113,12 +113,12 @@ EOF ;; 'Depends'|'Recommends'|'Suggests'|'Pre-Depends') value="$(ob_reduce_deps -a "${OPK_HOST_ARCH}" \ - "${value}")" + -P "${OPK_HOST_PLAT}" "${value}")" value="$(ob_substvars "${value}")" ;; 'Conflicts'|'Provides'|'Replaces') - value="$(ob_reduce_deps -a "${OPK_HOST_ARCH}" -u \ - "${value}")" + value="$(ob_reduce_deps -a "${OPK_HOST_ARCH}" \ + -P "${OPK_HOST_PLAT}" -u "${value}")" value="$(ob_substvars "${value}")" ;; esac -- cgit v0.9.1