[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:26:12 UTC 2017


On 06/09/2017 11:25 PM, Alexander Kanavin wrote:
> 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.

Nevermind, got this mixed up :)

Alex




More information about the Openembedded-core mailing list