diff --git a/SOURCES/add-aarch64.patch b/SOURCES/add-aarch64.patch new file mode 100644 index 0000000..bbb1090 --- /dev/null +++ b/SOURCES/add-aarch64.patch @@ -0,0 +1,13 @@ +diff --git a/configure b/configure +index 65e7d48..c85e89d 100755 +--- a/configure ++++ b/configure +@@ -15335,7 +15335,7 @@ $as_echo_n "checking for boostlib >= $boost_lib_version_req... " >&6; } + + libsubdirs="lib" + ax_arch=`uname -m` +- if test $ax_arch = x86_64 -o $ax_arch = ppc64 -o $ax_arch = s390x -o $ax_arch = sparc64; then ++ if test $ax_arch = x86_64 -o $ax_arch = aarch64 -o $ax_arch = ppc64 -o $ax_arch = s390x -o $ax_arch = sparc64; then + libsubdirs="lib64 lib lib64" + fi + diff --git a/SPECS/liborcus.spec b/SPECS/liborcus.spec index b1c7822..a334a59 100644 --- a/SPECS/liborcus.spec +++ b/SPECS/liborcus.spec @@ -2,7 +2,7 @@ Name: liborcus Version: 0.5.1 -Release: 3%{?dist} +Release: 7%{?dist} Summary: Standalone file import filter library for spreadsheet documents Group: System Environment/Libraries @@ -13,6 +13,8 @@ Source: http://kohei.us/files/orcus/src/%{name}-%{version}.tar.bz2 BuildRequires: boost-devel BuildRequires: zlib-devel +Patch0: add-aarch64.patch + %description %{name} is a standalone file import filter library for spreadsheet documents. Currently under development are ODS, XLSX and CSV import @@ -37,6 +39,7 @@ Tools for working with %{name}. %prep %setup -q +%patch0 -p1 # fix build of orcus-zip-dump sed -i -e 's/orcus_zip_dump_LDADD = /& $(BOOST_SYSTEM_LIB) /' \ src/Makefile.in @@ -88,6 +91,19 @@ make check %{?_smp_mflags} %{_bindir}/orcus-zip-dump %changelog +* Fri Jan 24 2014 Daniel Mach - 0.5.1-7 +- Mass rebuild 2014-01-24 + +* Tue Jan 21 2014 David Tardon - 0.5.1-6 +- Resolves: rhbz#1041331 liborcus fails to build for ARM (Aarch64) + (really this time) + +* Tue Jan 21 2014 David Tardon - 0.5.1-5 +- Resolves: rhbz#1041331 liborcus fails to build for ARM (Aarch64) + +* Fri Dec 27 2013 Daniel Mach - 0.5.1-4 +- Mass rebuild 2013-12-27 + * Mon Jun 10 2013 David Tardon - 0.5.1-3 - trivial changes