- 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:27:43 +00:00
parent 9ac988774a
commit ce532e2c32

View File

@ -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 <hdegoede@redhat.com> - 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 <mlichvar@redhat.com> - 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