>>>> "PV" == Petr Viktorin
<pviktori(a)redhat.com> writes:
PV> %install
PV> %install
PV> %if %{with python2}
PV> %py2_install
PV> %endif
PV> %if %{with python3}
PV> %py3_install
PV> %endif
So... why not just make %py2_install and %py3_install just do the
%{with python*} internally, so the result is just
%install
%py2_install
%py3_install
And things just work. That way you only need the conditionals when
you're doing something not covered by the macros.
- J<