summaryrefslogtreecommitdiffstats
path: root/flatbuffers.spec
diff options
context:
space:
mode:
Diffstat (limited to 'flatbuffers.spec')
-rw-r--r--flatbuffers.spec6
1 files changed, 5 insertions, 1 deletions
diff --git a/flatbuffers.spec b/flatbuffers.spec
index d1b064f..cd2d9a6 100644
--- a/flatbuffers.spec
+++ b/flatbuffers.spec
@@ -1,4 +1,4 @@
-%ifarch ppc64 s390x armv7hl
+%ifarch ppc64 s390x %{arm}
%bcond_with tests
%else
%bcond_without tests
@@ -16,8 +16,12 @@ License: ASL 2.0 and BSD
Source0: https://github.com/google/flatbuffers/archive/v%{version}/%{name}-%{version}.tar.gz
Source1: flatc.1
Source2: flatbuffers.7
+
+# https://github.com/google/flatbuffers/pull/4481
Patch0: 0000-use-cmake-install-dirs.patch
+# https://github.com/google/flatbuffers/commit/28920aff8f4f1c050f30cc069ed26a69fd335815
Patch1: 0001-fix-endianswap-for-bigendian.patch
+# https://github.com/google/flatbuffers/pull/4479
Patch2: 0002-specify-so-version.patch
BuildRequires: gcc-c++