>>>>> "PV" == Petr Viktorin <pvikt...@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<
_______________________________________________
python-devel mailing list -- python-devel@lists.fedoraproject.org
To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org

Reply via email to