Hello community, here is the log from the commit of package flatbuffers for openSUSE:Factory checked in at 2020-02-20 15:01:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/flatbuffers (Old) and /work/SRC/openSUSE:Factory/.flatbuffers.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "flatbuffers" Thu Feb 20 15:01:13 2020 rev:5 rq:777680 version:1.11.0 Changes: -------- --- /work/SRC/openSUSE:Factory/flatbuffers/flatbuffers.changes 2019-12-05 17:39:33.193348031 +0100 +++ /work/SRC/openSUSE:Factory/.flatbuffers.new.26092/flatbuffers.changes 2020-02-20 15:01:18.798986546 +0100 @@ -1,0 +2,13 @@ +Fri Feb 14 12:01:50 UTC 2020 - Dominique Leuenberger <[email protected]> + +- Fix build: RPM 4.15 got a bit stricter and fails on + find-provides script errors. Earlier RPM versions ignored it. In + this specic case it turns out that the .cmake file installed is + invalid, as it contained set(PACKAGE_VERSION "..") (so RPM is + right to abort). Turns out that upstream simply did not really + cater for the fact that this could be installed from tarball and + not from a git checkout: they use 'git describe' to inject a + version into the .cmake file. Fix this by replacing the + placeholders using sed, injecting the rpm %version there. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ flatbuffers.spec ++++++ --- /var/tmp/diff_new_pack.LdZB6Y/_old 2020-02-20 15:01:22.018992864 +0100 +++ /var/tmp/diff_new_pack.LdZB6Y/_new 2020-02-20 15:01:22.022992871 +0100 @@ -1,7 +1,7 @@ # # spec file for package flatbuffers # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -64,6 +64,12 @@ %build chmod -x readme.md docs/source/*.md docs/footer.html docs/source/doxyfile +# Fixup CMake/FlatbuffersConfigVersion.cmake.in - Upstream releases tarballs +# that make no sense. They exect git describe to find correct information about +# the version in use - and replace that into the cmake file in the end. Obviously +# the tarball has no .git directory and thus does not carry that inormation +# We just inject %%version there. Easiest fix. +sed -i 's/@VERSION_MAJOR@.@VERSION_MINOR@.@VERSION_PATCH@/%{version}/' CMake/FlatbuffersConfigVersion.cmake.in %cmake -DCMAKE_BUILD_TYPE=Release \ -DFLATBUFFERS_BUILD_SHAREDLIB=ON \ -DFLATBUFFERS_BUILD_FLATLIB=OFF \ ++++++ python-flatbuffers.spec ++++++ --- /var/tmp/diff_new_pack.LdZB6Y/_old 2020-02-20 15:01:22.034992895 +0100 +++ /var/tmp/diff_new_pack.LdZB6Y/_new 2020-02-20 15:01:22.038992903 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-flatbuffers # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed
