I'm trying to do this:
Code:
%if 0%{?debian_version} <= 10 || 0%{?ubuntu_version} <= 1910
  Substitute: qt5-qmake qt5-default
%endif
But it doesn't work as expected. Instead, it just evaluates to true if it's debian or ubuntu, but I need to check for specific version.
Is this even possible? Can't find a documentation or source code for these macro parser.