From bf0df15543f081a683bc7a722f3003e038a7491e Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Thu, 7 Jan 2010 13:37:51 +0000 Subject: [PATCH] - 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 --- pyparted.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pyparted.spec b/pyparted.spec index 290bdd3..96d11a4 100644 --- a/pyparted.spec +++ b/pyparted.spec @@ -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 - 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 - 2.5-2 - Exclude pyparted-2.4.tar.gz from source RPM (oops)