summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey Avseyev <sergey.avseyev@gmail.com>2017-11-03 16:14:31 +0300
committerSergey Avseyev <sergey.avseyev@gmail.com>2017-11-03 16:29:40 +0300
commitf3031f5868d91e51747d2c3ab1d56a012aa13679 (patch)
tree2754a13aaea0a847f0ee6123a1d53b47fea741b9
parent1437085baed56e9490fb2d8ccdb442f10f59e612 (diff)
downloadflatbuffers-f3031f5868d91e51747d2c3ab1d56a012aa13679.tar.gz
flatbuffers-f3031f5868d91e51747d2c3ab1d56a012aa13679.tar.xz
flatbuffers-f3031f5868d91e51747d2c3ab1d56a012aa13679.zip
cleanup package
-rw-r--r--flatbuffers-1.7.1-1.fc28.src.rpmbin494816 -> 494896 bytes
-rw-r--r--flatbuffers.spec12
2 files changed, 9 insertions, 3 deletions
diff --git a/flatbuffers-1.7.1-1.fc28.src.rpm b/flatbuffers-1.7.1-1.fc28.src.rpm
index 1897a2c..5d82ef4 100644
--- a/flatbuffers-1.7.1-1.fc28.src.rpm
+++ b/flatbuffers-1.7.1-1.fc28.src.rpm
Binary files differ
diff --git a/flatbuffers.spec b/flatbuffers.spec
index 7d96b41..d2f309b 100644
--- a/flatbuffers.spec
+++ b/flatbuffers.spec
@@ -2,9 +2,10 @@ Name: flatbuffers
Version: 1.7.1
Release: 1%{?dist}
Summary: Memory efficient serialization library
+URL: http://google.github.io/flatbuffers
-License: ASL 2.0
-URL: http://google.github.io/flatbuffers/
+# The entire source code is ASL 2.0 except grpc/ which is BSD (3 clause)
+License: ASL 2.0 and BSD
Source0: https://github.com/google/flatbuffers/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: flatc.1
@@ -13,7 +14,9 @@ Patch0: 0000-use-cmake-install-dirs.patch
Patch1: 0001-fix-endianswap-for-bigendian.patch
Patch2: 0002-specify-so-version.patch
-BuildRequires: cmake
+BuildRequires: gcc-c++
+BuildRequires: cmake >= 2.8.9
+
%description
FlatBuffers is a serialization library for games and other memory constrained
@@ -29,6 +32,9 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
%prep
%autosetup -p1
+# cleanup distribution
+rm -rf js net php python docs go java js biicode {samples/,}android
+
%ifarch ppc64 s390x armv7hl
# upstream have issues in tests on big-endian platforms
TESTS_FLAG="-DFLATBUFFERS_BUILD_TESTS=OFF"