Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package QMPlay2 for openSUSE:Factory checked in at 2023-03-22 22:31:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/QMPlay2 (Old) and /work/SRC/openSUSE:Factory/.QMPlay2.new.31432 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "QMPlay2" Wed Mar 22 22:31:52 2023 rev:71 rq:1073842 version:23.02.05 Changes: -------- --- /work/SRC/openSUSE:Factory/QMPlay2/QMPlay2.changes 2023-03-14 18:17:09.755897908 +0100 +++ /work/SRC/openSUSE:Factory/.QMPlay2.new.31432/QMPlay2.changes 2023-03-22 22:32:41.738813227 +0100 @@ -1,0 +2,8 @@ +Tue Mar 21 22:26:47 UTC 2023 - Simon Vogl <[email protected]> + +- Switch from GCC compiler to clang/llvm compiler to better + conform with upstream decisions +- Switch devel package BuildArch to noarch as it contains + no binaries + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ QMPlay2.spec ++++++ --- /var/tmp/diff_new_pack.kCgwKO/_old 2023-03-22 22:32:42.250815802 +0100 +++ /var/tmp/diff_new_pack.kCgwKO/_new 2023-03-22 22:32:42.258815843 +0100 @@ -32,12 +32,9 @@ Patch2: 0001-fix-mono-playback.patch # PATCH-FIX-UPSTREAM Patch3: 0001-fix-broken-yt-dlp.patch +BuildRequires: clang BuildRequires: cmake >= 3.16 -BuildRequires: gcc-c++ -# Use gcc 11 for openSUSE Leap 15.4+ and SLE15SP4+ -%if 0%{?suse_version} < 1550 && 0%{?sle_version} >= 150400 -BuildRequires: gcc11-c++ -%endif +BuildRequires: llvm-gold BuildRequires: ninja BuildRequires: pkgconfig BuildRequires: shaderc @@ -93,6 +90,7 @@ Summary: %{name} development files Group: Development/Libraries/Other Requires: %{name} = %{version} +BuildArch: noarch %description devel It's a development package for %{name}. @@ -104,15 +102,12 @@ %build # Build options -# - Override shared linker flags from /usr/lib/rpm/macros.d/macros.cmake -# because the "--no-undefined -Wl" flag is not compatible with QMPlay2 -# - Set gcc11 as compiler for openSUSE Leap 15.4+ and SLE15SP4+ +# - Force DWARFv4 as DWARFv5 is not fully supported by dwz yet %cmake \ - -DCMAKE_SHARED_LINKER_FLAGS="%{?build_ldflags} -Wl,--as-needed -Wl,-z,now" \ -%if 0%{?suse_version} < 1550 && 0%{?sle_version} >= 150400 - -DCMAKE_C_COMPILER=gcc-11 \ - -DCMAKE_CXX_COMPILER=g++-11 \ -%endif + -DCMAKE_C_COMPILER=clang \ + -DCMAKE_CXX_COMPILER=clang++ \ + -DCMAKE_C_FLAGS="${CFLAGS:-%optflags} -gdwarf-4" \ + -DCMAKE_CXX_FLAGS="${CXXFLAGS:-%optflags} -gdwarf-4" \ -DSOLID_ACTIONS_INSTALL_PATH="%{_datadir}/solid/actions" \ -DUSE_LINK_TIME_OPTIMIZATION=ON \ -DUSE_PCH=ON \
