Hello community,

here is the log from the commit of package flatbuffers for openSUSE:Leap:15.2 
checked in at 2020-02-23 16:48:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/flatbuffers (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.flatbuffers.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "flatbuffers"

Sun Feb 23 16:48:40 2020 rev:4 rq:778586 version:1.11.0

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/flatbuffers/flatbuffers.changes        
2020-01-15 14:55:15.937583270 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.flatbuffers.new.26092/flatbuffers.changes     
2020-02-23 16:48:51.506480704 +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.WV8Yq6/_old  2020-02-23 16:48:51.946481550 +0100
+++ /var/tmp/diff_new_pack.WV8Yq6/_new  2020-02-23 16:48:51.946481550 +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.WV8Yq6/_old  2020-02-23 16:48:51.966481589 +0100
+++ /var/tmp/diff_new_pack.WV8Yq6/_new  2020-02-23 16:48:51.966481589 +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


Reply via email to