Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package CalcMySky for openSUSE:Factory 
checked in at 2023-10-13 23:15:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/CalcMySky (Old)
 and      /work/SRC/openSUSE:Factory/.CalcMySky.new.20540 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "CalcMySky"

Fri Oct 13 23:15:21 2023 rev:4 rq:1117598 version:0.3.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/CalcMySky/CalcMySky.changes      2023-07-05 
15:31:37.930947943 +0200
+++ /work/SRC/openSUSE:Factory/.CalcMySky.new.20540/CalcMySky.changes   
2023-10-13 23:16:22.410720206 +0200
@@ -1,0 +2,5 @@
+Fri Oct  6 07:23:30 UTC 2023 - Paolo Stivanin <i...@paolostivanin.com>
+
+- Use better macro for selecting a newer GCC on Leap.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ CalcMySky.spec ++++++
--- /var/tmp/diff_new_pack.iWFBk0/_old  2023-10-13 23:16:22.894737762 +0200
+++ /var/tmp/diff_new_pack.iWFBk0/_new  2023-10-13 23:16:22.894737762 +0200
@@ -16,8 +16,12 @@
 #
 
 
+%if 0%{?suse_version} && 0%{?suse_version} < 1590
+%global force_gcc_version 12
+%endif
+
 %define sover 15
-%if 0%{?suse_version} > 1550
+%if 0%{?suse_version} > 1690
 %define qtver 6
 %else
 %define qtver 5
@@ -30,13 +34,8 @@
 License:        GPL-3.0-or-later
 URL:            https://github.com/10110111/CalcMySky
 Source:         
https://github.com/10110111/CalcMySky/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
-%if 0%{?suse_version} < 1590
-BuildRequires:  gcc11-c++
-%else
-BuildRequires:  gcc-c++
-%endif
 BuildRequires:  cmake
-BuildRequires:  gcc-c++
+BuildRequires:  gcc%{?force_gcc_version}-c++ >= 12
 BuildRequires:  libeigen3-devel >= 3.4.0
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(glm)
@@ -87,7 +86,9 @@
   -DQT_VERSION=6 \
 %else
   -DQT_VERSION=5 \
-  -DCMAKE_CXX_COMPILER=%{_bindir}/g++-11 \
+%endif
+%if 0%{?force_gcc_version}
+    -DCMAKE_CXX_COMPILER=%{_bindir}/g++-%{?force_gcc_version} \
 %endif
   -DCMAKE_CXX_STANDARD=17
 %cmake_build

Reply via email to