Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package vectorscan for openSUSE:Factory 
checked in at 2022-09-29 18:14:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/vectorscan (Old)
 and      /work/SRC/openSUSE:Factory/.vectorscan.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "vectorscan"

Thu Sep 29 18:14:37 2022 rev:2 rq:1006930 version:5.4.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/vectorscan/vectorscan.changes    2022-09-26 
18:47:55.320022310 +0200
+++ /work/SRC/openSUSE:Factory/.vectorscan.new.2275/vectorscan.changes  
2022-09-29 18:15:22.531492254 +0200
@@ -1,0 +2,5 @@
+Thu Sep 29 11:58:52 UTC 2022 - Guillaume GARDET <[email protected]>
+
+- Use GCC9 for Leap/SLE 15.x to fix build
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ vectorscan.spec ++++++
--- /var/tmp/diff_new_pack.DE7O9u/_old  2022-09-29 18:15:22.963493101 +0200
+++ /var/tmp/diff_new_pack.DE7O9u/_new  2022-09-29 18:15:22.967493109 +0200
@@ -30,7 +30,12 @@
 Source:         
https://github.com/VectorCamp/vectorscan/archive/refs/tags/vectorscan/%{version}.tar.gz#/%{name}-%{version}.tar.gz
 BuildRequires:  boost-devel >= 1.57
 BuildRequires:  cmake
+%if 0%{?suse_version} > 1500
 BuildRequires:  gcc-c++ >= 9
+%else
+# Leap 15.x still uses gcc7 by default
+BuildRequires:  gcc9-c++
+%endif
 BuildRequires:  libpcap-devel
 BuildRequires:  pkgconfig
 BuildRequires:  python
@@ -90,6 +95,10 @@
 %setup -q -n %{name}-%{name}-%{version}
 
 %build
+%if 0%{?suse_version} <= 1500
+export CC=gcc-9
+export CXX=g++-9
+%endif
 %cmake \
   -DCMAKE_INSTALL_DOCDIR=%{_defaultdocdir}/%{name} \
 %ifarch %{ix86} x86_64

Reply via email to