Hello community,

here is the log from the commit of package flatbuffers for openSUSE:Factory 
checked in at 2019-12-05 17:36:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/flatbuffers (Old)
 and      /work/SRC/openSUSE:Factory/.flatbuffers.new.4691 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "flatbuffers"

Thu Dec  5 17:36:45 2019 rev:4 rq:754456 version:1.11.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/flatbuffers/flatbuffers.changes  2019-10-21 
12:30:31.788105510 +0200
+++ /work/SRC/openSUSE:Factory/.flatbuffers.new.4691/flatbuffers.changes        
2019-12-05 17:39:33.193348031 +0100
@@ -1,0 +2,5 @@
+Tue Dec  3 14:49:14 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Use %cmake_build to build the cmake stuff
+
+-------------------------------------------------------------------
--- /work/SRC/openSUSE:Factory/flatbuffers/python-flatbuffers.changes   
2019-10-21 12:30:32.632106467 +0200
+++ /work/SRC/openSUSE:Factory/.flatbuffers.new.4691/python-flatbuffers.changes 
2019-12-05 17:39:33.537347907 +0100
@@ -1,0 +2,5 @@
+Tue Dec  3 14:39:53 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Use same tarball as it is equal between python and C code
+
+-------------------------------------------------------------------

Old:
----
  python-flatbuffers-1.11.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ flatbuffers.spec ++++++
--- /var/tmp/diff_new_pack.1UI8AE/_old  2019-12-05 17:39:35.061347357 +0100
+++ /var/tmp/diff_new_pack.1UI8AE/_new  2019-12-05 17:39:35.073347353 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package flatbuffers
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,14 +16,14 @@
 #
 
 
-Name:           flatbuffers
 %define   sonum 1
+Name:           flatbuffers
 Version:        1.11.0
 Release:        0
 Summary:        Memory Efficient Serialization Library
 License:        Apache-2.0
 Group:          Development/Libraries/C and C++
-Url:            http://google.github.io/flatbuffers/
+URL:            https://google.github.io/flatbuffers/
 Source:         
https://github.com/google/flatbuffers/archive/%{version}/%{name}-%{version}.tar.gz
 BuildRequires:  cmake >= 2.8.11.2
 BuildRequires:  gcc-c++
@@ -68,14 +68,12 @@
        -DFLATBUFFERS_BUILD_SHAREDLIB=ON \
        -DFLATBUFFERS_BUILD_FLATLIB=OFF \
        -DFLATBUFFERS_BUILD_FLATC=ON
-
-make %{?_smp_mflags} V=1
+%cmake_build
 
 %install
 %cmake_install
-pushd CMake
-mkdir -p "%{buildroot}/%{_datadir}/cmake/Modules"
-install -m0644 *FlatBuffers.cmake %{buildroot}%{_datadir}/cmake/Modules/
+mkdir -p %{buildroot}/%{_datadir}/cmake/Modules
+install -Dm0644 CMake/*FlatBuffers.cmake %{buildroot}%{_datadir}/cmake/Modules/
 
 %check
 %ctest
@@ -84,17 +82,11 @@
 %postun -n libflatbuffers%{sonum} -p /sbin/ldconfig
 
 %files -n libflatbuffers%{sonum}
-%defattr(-,root,root)
+%license LICENSE.txt
 %{_libdir}/libflatbuffers.so.*
 
 %files devel
-%defattr(-,root,root)
 %doc readme.md docs/
-%if 0%{?leap_version} >= 420200 || 0%{?suse_version} > 1320 
-%license LICENSE.txt
-%else
-%doc LICENSE.txt
-%endif
 %{_bindir}/flatc
 %{_libdir}/libflatbuffers.so
 %{_includedir}/flatbuffers/

++++++ python-flatbuffers.spec ++++++
--- /var/tmp/diff_new_pack.1UI8AE/_old  2019-12-05 17:39:35.101347343 +0100
+++ /var/tmp/diff_new_pack.1UI8AE/_new  2019-12-05 17:39:35.113347338 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-flatbuffers
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -23,40 +23,30 @@
 Summary:        The FlatBuffers serialization format for Python
 License:        Apache-2.0
 Group:          Development/Languages/Python
-Url:            https://github.com/google/flatbuffers
-Source:         
https://github.com/google/flatbuffers/archive/%{version}/%{name}-%{version}.tar.gz
-BuildRequires:  %{python_module devel}
+URL:            https://github.com/google/flatbuffers
+Source:         
https://github.com/google/flatbuffers/archive/%{version}/flatbuffers-%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Recommends:     python-numpy
 BuildArch:      noarch
-
 %python_subpackages
 
 %description
 Python runtime library for use with the Flatbuffers serialization format.
 
 %prep
-%setup -q -n flatbuffers-%{version}
+%setup -q -n flatbuffers-%{version}/python
 
 %build
-pushd python
 %python_build
-popd
 
 %install
-pushd python
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
-popd
 
 %files %{python_files}
-%if 0%{?leap_version} >= 420200 || 0%{?suse_version} > 1320 
-%license LICENSE.txt
-%else
-%doc LICENSE.txt
-%endif
+%license ../LICENSE.txt
 %{python_sitelib}/*
 
 %changelog


Reply via email to