I have a spec file with conditionals for handling distribution-specific requirements. One difference between distributions is that some of them require specifying a minimum version for some packages.
When building for those distributions, macros are defined named packagename_ver. Then, the dependencies for those packages are as follows:
I.E. If the packagename_ver macro is defined as 1.2.3, then it should expand to...
Requires: packagename >= 1.2.3
...and if it isn't defined, it will expand to just...
Requires: packagename
The issue I'm having is that the RPM Spec File plugin doesn't support these conditional expansions. For those lines, it emits the following error during code analysis:
I have a spec file with conditionals for handling distribution-specific requirements. One difference between distributions is that some of them require specifying a minimum version for some packages.
When building for those distributions, macros are defined named
packagename_ver
. Then, the dependencies for those packages are as follows:I.E. If the
packagename_ver
macro is defined as1.2.3
, then it should expand to......and if it isn't defined, it will expand to just...
The issue I'm having is that the RPM Spec File plugin doesn't support these conditional expansions. For those lines, it emits the following error during code analysis: