[OE-core] [PATCH 0/3] RPM bug fixes...

Mark Hatle mark.hatle at windriver.com
Wed Jun 17 17:04:39 UTC 2015


This set fixes a few problems that I recently noticed with RPM5.

The first item is a pure bug fix, the second and third are either bugs or an 
enhancements depending on how you look at it.

To test the first bug, you will need to enable 'lua' in the rpm recipe's
PACKAGECONFIG.  You can then verify behavor by running:

rpm --eval "%{_defaultdocdir} %{lua:print 'after'}"

If 'after' appears BEFORE the defaultdocdir value, then the bug is not fixed.

For the second/third items, if you install the necessary runtime environment
to use rpmbuild, you can attempt to build various spec files that use the
updated variables and verify the usage was correct.  (Not all spec files use
__cc, __cxx, etc.. so you may have to hand craft them.)

Mark Hatle (3):
  rpm: Fix lua 'print' statement capture
  rpm: Rebrand rpm custom macro paths to be distro specific
  rpm: Generate per distribution and multilib macro files

 .../rpm/rpm/rpm-lua-fix-print.patch                | 104 +++++++++++++++++++++
 meta/recipes-devtools/rpm/rpm_5.4.14.bb            |  87 ++++++++++++++++-
 2 files changed, 188 insertions(+), 3 deletions(-)
 create mode 100644 meta/recipes-devtools/rpm/rpm/rpm-lua-fix-print.patch

-- 
1.9.3




More information about the Openembedded-core mailing list