diff --git a/wxPython.spec b/wxPython.spec index 28e130a..0deb0f0 100644 --- a/wxPython.spec +++ b/wxPython.spec @@ -1,11 +1,10 @@ -# sitelib not sitearch, see build section -%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} +%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %define buildflags WXPORT=gtk2 UNICODE=1 Name: wxPythonGTK2 Version: 2.4.2.4 -Release: 6 +Release: 7 Summary: GUI toolkit for the Python programming language Group: Development/Languages License: LGPL @@ -55,10 +54,13 @@ rm -rf $RPM_BUILD_ROOT %defattr(-,root,root,-) %doc wxPython/docs wxPython/demo wxPython/licence/ wxPython/samples %{_bindir}/* -%{python_sitelib}/wxPython/ -%{python_sitelib}/wx/ +%{python_sitearch}/wxPython/ +%{python_sitearch}/wx/ %changelog +* Wed May 11 2005 Michael Schwendt 2.4.2.4-7 +- d'oh, it's sitearch here + * Wed May 11 2005 Michael Schwendt 2.4.2.4-6 - rebuilt - use %%python_sitelib macro