Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package antlr4 for openSUSE:Factory checked in at 2021-07-28 19:19:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/antlr4 (Old) and /work/SRC/openSUSE:Factory/.antlr4.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "antlr4" Wed Jul 28 19:19:59 2021 rev:6 rq:908782 version:4.9.2 Changes: -------- --- /work/SRC/openSUSE:Factory/antlr4/antlr4.changes 2021-04-06 17:31:50.847263958 +0200 +++ /work/SRC/openSUSE:Factory/.antlr4.new.1899/antlr4.changes 2021-07-28 19:21:00.595559178 +0200 @@ -1,0 +2,5 @@ +Wed Jul 28 07:26:49 UTC 2021 - Fridrich Strba <[email protected]> + +- Small fixes to allow to build on SLE12-SP5 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ antlr4.spec ++++++ --- /var/tmp/diff_new_pack.82AOAP/_old 2021-07-28 19:21:01.003558643 +0200 +++ /var/tmp/diff_new_pack.82AOAP/_new 2021-07-28 19:21:01.007558638 +0200 @@ -16,6 +16,7 @@ # +%{!?make_build:%global make_build make %{?_smp_mflags}} %define libver 4_9_2 %define runtime_cpp_lib libantlr4-runtime %define runtime_cpp_libver %{runtime_cpp_lib}%{libver} @@ -32,7 +33,13 @@ Patch1: utf8cpp-from-system.patch BuildRequires: cmake >= 3.3.0 BuildRequires: fdupes -BuildRequires: gcc-c++ +%if 0%{?suse_version} >= 1500 +BuildRequires: gcc >= 5 +BuildRequires: gcc-c++ >= 5 +%else +BuildRequires: gcc5 +BuildRequires: gcc5-c++ +%endif BuildRequires: libstdc++-devel BuildRequires: maven-local BuildRequires: pkgconfig @@ -158,6 +165,13 @@ %{mvn_build} -s -f -- -Dsource=7 pushd runtime/Cpp +%if 0%{?suse_version} < 1500 +RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS|sed -e 's/-fstack-clash-protection//g'` +RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS|sed -e 's/ / /g'` +export CXX=g++-5 +export CFLAGS="$RPM_OPT_FLAGS" +export CXXFLAGS="$RPM_OPT_FLAGS" +%endif %cmake -DWITH_DEMO=False %make_build popd
