From 3b0425297c2e5d7043957db8419acfd8dd15db63 Mon Sep 17 00:00:00 2001 From: David Cantrell Date: Thu, 8 Feb 2007 17:34:10 +0000 Subject: [PATCH] - Define and use python_sitearch rather than python_sitelib --- .cvsignore | 2 +- pyparted.spec | 9 ++++++--- sources | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.cvsignore b/.cvsignore index 91d6c68..4fef5f4 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -pyparted-1.8.4.tar.gz +pyparted-1.8.5.tar.gz diff --git a/pyparted.spec b/pyparted.spec index 8c7f1cf..5d5a31b 100644 --- a/pyparted.spec +++ b/pyparted.spec @@ -1,8 +1,8 @@ -%{!?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)")} Summary: Python module for GNU parted Name: pyparted -Version: 1.8.4 +Version: 1.8.5 Release: 1%{?dist} License: GPL Group: System Environment/Libraries @@ -39,9 +39,12 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc README COPYING -%{python_sitelib}/partedmodule.so +%{python_sitearch}/partedmodule.so %changelog +* Thu Feb 08 2007 David Cantrell - 1.8.5-1 +- Define and use python_sitearch rather than python_sitelib + * Thu Feb 08 2007 David Cantrell - 1.8.4-1 - Use preferred BuildRoot (package review) - Define and use python_sitelib macro (package review) diff --git a/sources b/sources index c257140..2ac3b8f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -a0fd76480f9e3e87eac084525572e61b pyparted-1.8.4.tar.gz +9097bc19e06350d865db38016ef98f4c pyparted-1.8.5.tar.gz