[gnome-continuous-yocto/gnomeostree-3.28-rocko: 3061/8267] ref-manual: Updated the RDEPENDS variable description.
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 3061/8267] ref-manual: Updated the RDEPENDS variable description.
- Date: Sun, 17 Dec 2017 00:06:17 +0000 (UTC)
commit 5f4b2020781f82ae2b9d391a16905ec9ddb4f888
Author: Scott Rifenbark <srifenbark gmail com>
Date: Wed Oct 19 08:43:03 2016 -0700
ref-manual: Updated the RDEPENDS variable description.
Fixes [YOCTO #10445]
Pointed out that the EXTENDPKGV variable is hard to locate in the
BB manual. Firstly, we don't document that variable in the
BB manual.... maybe we should. For the ref-manual, however, it is
barely referenced in a side example from the dev-manual. So, I
updated the RDEPENDS variable to have a "Tip" box in the area where
it is shown how to use the package version as part of the RDEPENDs
variable.
(From yocto-docs rev: 7aff5df538c27cf3c2700538e46e723cdb5d9986)
Signed-off-by: Scott Rifenbark <srifenbark gmail com>
Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>
documentation/ref-manual/ref-variables.xml | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml
index ae1068a..b020a27 100644
--- a/documentation/ref-manual/ref-variables.xml
+++ b/documentation/ref-manual/ref-variables.xml
@@ -10621,7 +10621,7 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
<literallayout class='monospaced'>
RDEPENDS_${PN} = "<replaceable>package</replaceable> (<replaceable>operator</replaceable>
<replaceable>version</replaceable>)"
</literallayout>
- For <filename>operator</filename>, you can specify the
+ For <replaceable>operator</replaceable>, you can specify the
following:
<literallayout class='monospaced'>
=
@@ -10630,6 +10630,13 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
<=
>=
</literallayout>
+ For <replaceable>version</replaceable>, provide the version
+ number.
+ <note><title>Tip</title>
+ You can use
+ <link linkend='var-EXTENDPKGV'><filename>EXTENDPKGV</filename></link>
+ to provide a full package version specification.
+ </note>
For example, the following sets up a dependency on version
1.2 or greater of the package <filename>foo</filename>:
<literallayout class='monospaced'>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]