From: Mark Hatle <mark.hatle@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] rpm: avoid dependency on perl and python for -native build
Date: Thu, 2 Jun 2011 08:29:36 -0500 [thread overview]
Message-ID: <4DE79040.4020709@windriver.com> (raw)
In-Reply-To: <1307008107.2529.175.camel@phil-desktop>
On 6/2/11 4:48 AM, Phil Blundell wrote:
> Update override naming (_native -> _virtclass-native) to disable perl
> and python bindings when building native rpm, and adjust the DEPENDS to
> match.
>
> Perl bindings were, in fact, already disabled for both native and target
> builds so it's only the python ones that have really changed.
>
> Signed-off-by: Phil Blundell <philb@gnu.org>
Acked-by: Mark Hatle <mark.hatle@windriver.com>
> ---
> meta/recipes-devtools/rpm/rpm_5.4.0.bb | 10 ++++++----
> 1 files changed, 6 insertions(+), 4 deletions(-)
>
> diff --git a/meta/recipes-devtools/rpm/rpm_5.4.0.bb b/meta/recipes-devtools/rpm/rpm_5.4.0.bb
> index d3f85f2..5c30f1c 100644
> --- a/meta/recipes-devtools/rpm/rpm_5.4.0.bb
> +++ b/meta/recipes-devtools/rpm/rpm_5.4.0.bb
> @@ -42,8 +42,10 @@ HOMEPAGE = "http://rpm5.org/"
> LICENSE = "LGPL 2.1"
> LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1"
>
> -DEPENDS = "bzip2 zlib python perl db openssl elfutils expat libpcre attr acl popt"
> -PR = "r16"
> +rpmdeps = "bzip2 zlib db openssl elfutils expat libpcre attr acl popt"
> +DEPENDS = "${rpmdeps} python perl"
> +DEPENDS_virtclass-native = "${rpmdeps}"
> +PR = "r17"
>
> # rpm2cpio is a shell script, which is part of the rpm src.rpm. It is needed
> # in order to extract the distribution SRPM into a format we can extract...
> @@ -92,7 +94,7 @@ WITH_PYTHON = " --with-python=${PYTHON_BASEVERSION} \
> --without-pythonembed \
> "
>
> -WITH_PYTHON_native = " --without-python"
> +WITH_PYTHON_virtclass-native = " --without-python"
>
> # Perl modules are not built, but they could be enabled fairly easily
> # the perl module creation and installation would need to be patched.
> @@ -100,7 +102,7 @@ WITH_PYTHON_native = " --without-python"
> #WITH_PERL = " --with-perl --without-perlembed"
> WITH_PERL = " --without-perl"
>
> -WITH_PERL_native = " --without-perl"
> +WITH_PERL_virtclass-native = " --without-perl"
>
> WITH_DB = "--with-db --with-dbsql --without-db-tools-integrated --without-sqlite"
>
next prev parent reply other threads:[~2011-06-02 13:32 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-02 9:48 [PATCH] rpm: avoid dependency on perl and python for -native build Phil Blundell
2011-06-02 13:29 ` Mark Hatle [this message]
2011-06-02 13:52 ` Richard Purdie
2011-06-02 21:25 ` Richard Purdie
2011-06-02 21:37 ` Phil Blundell
2011-06-02 22:26 ` Richard Purdie
2011-06-03 10:32 ` Phil Blundell
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=4DE79040.4020709@windriver.com \
--to=mark.hatle@windriver.com \
--cc=openembedded-core@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