- Change python_sitearch macro to use %global as the new rpm will break

using %define here, see:
    https://www.redhat.com/archives/fedora-devel-list/2010-January/msg00093
    .html
This commit is contained in:
Hans de Goede 2010-01-07 13:37:51 +00:00
parent 2a313552ac
commit bf0df15543

View File

@ -1,9 +1,9 @@
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%{!?python_sitearch: %global 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: 2.5
Release: 2%{?dist}
Release: 3%{?dist}
License: GPLv2+
Group: System Environment/Libraries
URL: http://fedorahosted.org/pyparted
@ -44,6 +44,11 @@ partition tables.
%{python_sitearch}/parted
%changelog
* Thu Jan 7 2010 Hans de Goede <hdegoede@redhat.com> - 2.5-3
- Change python_sitearch macro to use %%global as the new rpm will break
using %%define here, see:
https://www.redhat.com/archives/fedora-devel-list/2010-January/msg00093.html
* Sat Dec 19 2009 David Cantrell <dcantrell@redhat.com> - 2.5-2
- Exclude pyparted-2.4.tar.gz from source RPM (oops)