summaryrefslogtreecommitdiffstats
path: root/python/python-blist.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python/python-blist.spec')
-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