Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package sparsehash for openSUSE:Factory 
checked in at 2026-04-19 14:20:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sparsehash (Old)
 and      /work/SRC/openSUSE:Factory/.sparsehash.new.11940 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sparsehash"

Sun Apr 19 14:20:49 2026 rev:8 rq:1347820 version:2.0.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/sparsehash/sparsehash.changes    2020-08-15 
21:18:17.867552019 +0200
+++ /work/SRC/openSUSE:Factory/.sparsehash.new.11940/sparsehash.changes 
2026-04-19 14:20:57.809116997 +0200
@@ -1,0 +2,5 @@
+Fri Apr 17 18:57:24 UTC 2026 - Andreas Stieger <[email protected]>
+
+- fix build with gcc16, boo#1261682
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ sparsehash.spec ++++++
--- /var/tmp/diff_new_pack.ArYnKB/_old  2026-04-19 14:20:58.321137817 +0200
+++ /var/tmp/diff_new_pack.ArYnKB/_new  2026-04-19 14:20:58.325137979 +0200
@@ -2,6 +2,7 @@
 # spec file for package sparsehash
 #
 # Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2026 Andreas Stieger <[email protected]>
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,8 +25,8 @@
 Group:          Development/Libraries/C and C++
 URL:            https://github.com/sparsehash/sparsehash
 Source:         
https://github.com/sparsehash/sparsehash/archive/sparsehash-%{version}.tar.gz
-BuildRequires:  gcc-c++
-BuildRequires:  pkg-config
+BuildRequires:  c++_compiler
+BuildRequires:  pkgconfig
 
 %description
 The Google SparseHash project contains several C++ template hash-map
@@ -47,8 +48,9 @@
 %autosetup -p1 -n %{name}-%{name}-%{version}
 
 %build
+export CXXFLAGS="-std=gnu++17 %{optflags}"
 %configure
-make %{?_smp_mflags}
+%make_build
 
 %install
 %make_install
@@ -57,6 +59,7 @@
 rm %{buildroot}%{_datadir}/doc/%{name}-2.0.2/README_windows.txt
 
 %files devel
+%license COPYING
 %doc %{_datadir}/doc/%{name}-2.0.2/
 %{_includedir}/google/
 %{_includedir}/sparsehash/

Reply via email to