]> code.ossystems Code Review - openembedded-core.git/commit
rpm: Use conditional to access %{_docdir} in macros.in
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>
Fri, 9 Jun 2017 19:34:33 +0000 (21:34 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 12 Jun 2017 14:17:50 +0000 (15:17 +0100)
commit7e0964e506506d20a25aac570104938759f9f70e
tree6407c1e0e5c3f357ab7f59be9aac30a66a234c26
parent74d040f456269992a13850a626279b3b8e954847
rpm: Use conditional to access %{_docdir} in macros.in

This avoids the following warning:

warning: Ignoring invalid regex %{_docdir}

when runing `rpmdeps -R <file>`, since %{_docdir} is only defined when
parsing a spec file.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/rpm/files/0012-Use-conditional-to-access-_docdir-in-macros.in.patch [new file with mode: 0644]
meta/recipes-devtools/rpm/rpm_git.bb