[python-tables/f21] Fix build on aarch64

Zbigniew Jędrzejewski-Szmek zbyszek at fedoraproject.org
Mon Jan 12 17:38:55 UTC 2015


commit e2de9970676a50f49cfe68715a363c188c48e4b4
Author: Zbigniew Jędrzejewski-Szmek <zbyszek at in.waw.pl>
Date:   Mon Jan 12 12:39:00 2015 -0500

    Fix build on aarch64

 python-tables.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/python-tables.spec b/python-tables.spec
index f860da6..32d7829 100644
--- a/python-tables.spec
+++ b/python-tables.spec
@@ -10,7 +10,7 @@
 Summary:        Hierarchical datasets in Python
 Name:           python-%{module}
 Version:        3.1.1
-Release:        1%{?dist}
+Release:        2%{?dist}
 Source0:        https://sourceforge.net/projects/pytables/files/pytables/%{version}/%{module}-%{version}.tar.gz
 Source1:        https://sourceforge.net/projects/pytables/files/pytables/%{version}/pytablesmanual-%{version}.pdf
 
@@ -58,6 +58,8 @@ PyTables.
 
 %prep
 %setup -q -n %{module}-%{version}
+# https://github.com/PyTables/PyTables/pull/414
+sed -i 's/"arm", "sparc", "mips"/\0, "aarch64"/' tables/utilsextension.pyx
 echo "import tables; tables.test()" > bench/check_all.py
 %if 0%{?with_python3}
 rm -rf %{py3dir}
@@ -121,6 +123,9 @@ popd
 %doc examples/
 
 %changelog
+* Mon Jan 12 2015 Zbigniew Jędrzejewski-Szmek <zbyszek at in.waw.pl> - 3.1.1-2
+- Be nice to pbrobinson and fix build on aarch64
+
 * Tue Jan 06 2015 Zbigniew Jędrzejewski-Szmek <zbyszek at in.waw.pl> - 3.1.1-1
 - Update to 3.1.1 (#1080889)
 


More information about the scm-commits mailing list