From ce532e2c32615c91f2883447cdac247f6494004e Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Thu, 7 Jan 2010 13:27:43 +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 --- newt.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/newt.spec b/newt.spec index 237627b..c935da7 100644 --- a/newt.spec +++ b/newt.spec @@ -1,8 +1,8 @@ -%{!?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: A library for text mode user interfaces Name: newt Version: 0.52.11 -Release: 1%{?dist} +Release: 2%{?dist} License: LGPLv2 Group: System Environment/Libraries URL: https://fedorahosted.org/newt/ @@ -104,6 +104,11 @@ rm -rf $RPM_BUILD_ROOT %{python_sitearch}/*.py* %changelog +* Thu Jan 7 2010 Hans de Goede - 0.52.11-2 +- 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 + * Thu Sep 24 2009 Miroslav Lichvar - 0.52.11-1 - fix buffer overflow in textbox when reflowing (#523955, CVE-2009-2905) - use full textbox width when reflowing and allow minimal width 1