Hi,
Greetings.
Recently, I encountered a problem building an RPM needs to determine the "Requires" under conditions ONLY available at runtime. For example depending on different OS favours and their levels, to require different level of third party utility packages.
There seems to be a way to hack it using lua
http://rpm.org/wiki/PackagerDocs/RpmLua
However, before trying this I am not sure if this is an officially supported feature or if it will be dropped in the future.
Can you please provide any suggestions on how to deal with this problem or direct me to any references for this?
Thanks in advance.
Steven