- Define and use python_sitearch rather than python_sitelib

This commit is contained in:
David Cantrell 2007-02-08 17:34:10 +00:00
parent 79c917f8f0
commit 3b0425297c
3 changed files with 8 additions and 5 deletions

View File

@ -1 +1 @@
pyparted-1.8.4.tar.gz pyparted-1.8.5.tar.gz

View File

@ -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 Summary: Python module for GNU parted
Name: pyparted Name: pyparted
Version: 1.8.4 Version: 1.8.5
Release: 1%{?dist} Release: 1%{?dist}
License: GPL License: GPL
Group: System Environment/Libraries Group: System Environment/Libraries
@ -39,9 +39,12 @@ rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc README COPYING %doc README COPYING
%{python_sitelib}/partedmodule.so %{python_sitearch}/partedmodule.so
%changelog %changelog
* Thu Feb 08 2007 David Cantrell <dcantrell@redhat.com> - 1.8.5-1
- Define and use python_sitearch rather than python_sitelib
* Thu Feb 08 2007 David Cantrell <dcantrell@redhat.com> - 1.8.4-1 * Thu Feb 08 2007 David Cantrell <dcantrell@redhat.com> - 1.8.4-1
- Use preferred BuildRoot (package review) - Use preferred BuildRoot (package review)
- Define and use python_sitelib macro (package review) - Define and use python_sitelib macro (package review)

View File

@ -1 +1 @@
a0fd76480f9e3e87eac084525572e61b pyparted-1.8.4.tar.gz 9097bc19e06350d865db38016ef98f4c pyparted-1.8.5.tar.gz