On Thu, 13 Nov 2008 22:50:04 -0700 (MST), Orion Poplawski wrote: > > On Thu, November 13, 2008 10:36 pm, Mamoru Tasaka wrote: > > > > Changing to %{!?python_sitearch: %global python_....} > > works? > > That's the ticket. Some rpm change I guess I didn't quite pick up on... Alternatively, simply override it without any nested macros: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)") -- Nested macro usage like %{!?foo: %define foo ...} is error-prone anyway. It quickly leads to confusing scenarios in spec files where you check for %!?foo in several places, but that would fail if the redefinition were global implicitly. -- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list