From 0f55a9efda7f6f482c94960c83a01fbed2124dbf Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Sat, 10 Oct 2009 21:41:14 -0400 Subject: python-blist: - enable __fastcall only on i386 (fixing spurious warnings) - disable tests that make ix86 assumptions --- python/python-blist.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'python/python-blist.spec') diff --git a/python/python-blist.spec b/python/python-blist.spec index 01ebe81..0cbe4a3 100644 --- a/python/python-blist.spec +++ b/python/python-blist.spec @@ -9,11 +9,12 @@ Group: Development/Languages License: BSD URL: http://pypi.python.org/pypi/blist/ Source0: http://pypi.python.org/packages/source/b/blist/blist-%{version}.tar.gz -Patch0: blist-1.0.1-use-upstream-macros.patch +Patch0: blist-1.0.1-fastcall-ix86-only.patch +Patch1: blist-1.0.1-remove-unsafe-tests.patch +Patch2: blist-1.0.1-use-upstream-macros.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -#BuildArch: -BuildRequires: python-devel +BuildRequires: python-devel python-setuptools %description The BList is a type that looks, acts, and quacks like a Python list, @@ -26,7 +27,9 @@ inefficient if you need to create a larger number of small lists. %prep %setup -q -n blist-%{version} -%patch0 -p1 -b .use-upstream-macros +%patch0 -p1 -b .fastcall-ix86-only +%patch1 -p1 -b .remove-unsafe-tests +%patch2 -p1 -b .use-upstream-macros chmod -x LICENSE *.[ch] *.rst *.txt -- cgit