summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorMichel Alexandre Salim <salimma@fedoraproject.org>2009-10-10 21:41:14 -0400
committerMichel Alexandre Salim <salimma@fedoraproject.org>2009-10-10 21:41:14 -0400
commit0f55a9efda7f6f482c94960c83a01fbed2124dbf (patch)
tree7ac0c65438a434ca8a884277f56990c7d0dd292e /python
parent50a8bf2c216551880834243cc0ad611271ec0a5d (diff)
downloadspecs-0f55a9efda7f6f482c94960c83a01fbed2124dbf.tar.gz
specs-0f55a9efda7f6f482c94960c83a01fbed2124dbf.tar.xz
specs-0f55a9efda7f6f482c94960c83a01fbed2124dbf.zip
python-blist:
- enable __fastcall only on i386 (fixing spurious warnings) - disable tests that make ix86 assumptions
Diffstat (limited to 'python')
-rw-r--r--python/python-blist.spec11
1 files changed, 7 insertions, 4 deletions
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