[OE-core] [PATCH 11/13] rpm: Use conditional to access %{_docdir} in macros.in

Alexander Kanavin alexander.kanavin at linux.intel.com
Fri Jun 9 20:25:08 UTC 2017


On 06/09/2017 10:34 PM, Peter Kjellerstedt wrote:
> 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.

Is this possible to do by adding a -D/--define option to rpmdeps? The 
less 'Inappropriate' patches we have to carry, the better.

Alex



More information about the Openembedded-core mailing list