Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Andreas Oberritter <obi@opendreambox.org>
To: openembedded-devel@lists.openembedded.org
Subject: versions in RDEPENDS etc.
Date: Wed, 17 Nov 2010 15:37:44 +0100	[thread overview]
Message-ID: <4CE3E8B8.3060505@opendreambox.org> (raw)

Hi all,

looking for examples in Git, I found the following entries using
"(<$version)":

> $ git grep -E '^(RDEPENDS|RPROVIDES|RRECOMMENDS|RSUGGESTS|RREPLACES|RCONFLICTS)'  | grep '<'
> recipes/networkmanager/netm-cli_0.2.bb:RDEPENDS_${PN} = "python-dbus python-pygobject python-textutils networkmanager (>=0.6) networkmanager (<0.7)"
> recipes/wireshark/wireshark_1.2.6.bb:RCONFLICTS_${PN}-tshark = "tshark wireshark (<1.0.5)"
> recipes/wireshark/wireshark_1.2.6.bb:RREPLACES_${PN}-tshark = "tshark wireshark (<1.0.5)"
> recipes/wireshark/wireshark_1.2.6.bb:RCONFLICTS_${PN}-wireshark = "tshark wireshark (<1.0.5)"
> recipes/wireshark/wireshark_1.2.6.bb:RREPLACES_${PN}-wireshark = "tshark wireshark (<1.0.5)"
> recipes/wireshark/wireshark_1.2.6.bb:RCONFLICTS_${PN} = "tshark wireshark (<1.0.5)"
> recipes/wireshark/wireshark_1.2.6.bb:RREPLACES_${PN} = "tshark wireshark (<1.0.5)"

From what I've read, the control file format of opkg should match the
control file format of debian packages. Also, it looks like the
variables grepped for above are written unmodifed to control files.

The Debian Policy Manual [1] states: "The relations allowed are <<, <=,
=, >= and >> for strictly earlier, earlier or equal, exactly equal,
later or equal and strictly later, respectively. The deprecated forms <
and > were used to mean earlier/later or equal, rather than strictly
earlier/later, so they should not appear in new packages (though dpkg
still supports them)."

Also: "For consistency and in case of future changes to dpkg it is
recommended that a single space be used after a version relationship and
before a version number;"

Should the recipes be updated accordingly? Would such changes require PR
bumps?

Regards,
Andreas

[1] http://www.debian.org/doc/debian-policy/ch-relationships.html



             reply	other threads:[~2010-11-17 14:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-17 14:37 Andreas Oberritter [this message]
2010-11-17 23:01 ` versions in RDEPENDS etc Graham Gower

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CE3E8B8.3060505@opendreambox.org \
    --to=obi@opendreambox.org \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox