]> code.ossystems Code Review - openembedded-core.git/commit
recipetool: create: skip values extracted from spec files containing macros
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Sun, 14 May 2017 21:59:52 +0000 (09:59 +1200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 23 May 2017 16:44:00 +0000 (17:44 +0100)
commiteee56a19cda051da6267f808cd3a04a4c644acb3
treeb79ea2f52b558fc5755499ea3f6fee3c6b2bb014
parent389b5f96af68439cc8e135a33f1e41116cb1d1aa
recipetool: create: skip values extracted from spec files containing macros

If a value we extract from a spec file contains an unexpanded macro
(e.g. %{macroname}) then we should discard it since we're not seeing the
actual value and we don't have an easy way of expanding it at the
moment.

This fixes for example getting %{name} as the recipe name when running
the following:

recipetool create https://github.com/gavincarr/mod_auth_tkt.git

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/lib/recipetool/create_buildsys.py