From 5c67a305d2a2b4d4043dba9659a0531182c83ebe Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Fri, 1 Jul 2005 16:15:16 +0000 Subject: [PATCH] - Use %{python_sitearch} --- python-matplotlib.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/python-matplotlib.spec b/python-matplotlib.spec index 1f71b84..4a78749 100644 --- a/python-matplotlib.spec +++ b/python-matplotlib.spec @@ -1,6 +1,8 @@ +%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} + Name: python-matplotlib Version: 0.82 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Python plotting library Group: Development/Libraries @@ -38,10 +40,13 @@ rm -rf $RPM_BUILD_ROOT %doc license/LICENSE_PAINT license/LICENSE_PIL license/PYTZ_LICENSE.txt %doc API_CHANGES CHANGELOG CXX INSTALL INTERACTIVE KNOWN_BUGS %doc NUMARRAY_ISSUES PKG-INFO TODO -%dir %{_libdir}/python2.4/site-packages/matplotlib +%dir %{python_sitearch}/matplotlib %dir %{_datadir}/matplotlib %changelog +* Fri Jul 01 2005 Orion Poplawski 0.82-3 +- Use %{python_sitearch} + * Thu Jun 30 2005 Orion Poplawski 0.82-2 - Rename to python-matplotlib - Remove unneeded Requires: python