Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package redeclipse for openSUSE:Factory checked in at 2022-08-05 19:51:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/redeclipse (Old) and /work/SRC/openSUSE:Factory/.redeclipse.new.1521 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "redeclipse" Fri Aug 5 19:51:40 2022 rev:7 rq:993318 version:2.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/redeclipse/redeclipse.changes 2021-01-13 18:35:43.006407009 +0100 +++ /work/SRC/openSUSE:Factory/.redeclipse.new.1521/redeclipse.changes 2022-08-05 19:52:41.301717096 +0200 @@ -1,0 +2,5 @@ +Wed Jul 27 23:20:54 UTC 2022 - Jan Engelhardt <jeng...@inai.de> + +- Use system discord-rpc library instead of bundled copy + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ redeclipse.spec ++++++ --- /var/tmp/diff_new_pack.jep8Xn/_old 2022-08-05 19:52:45.385727642 +0200 +++ /var/tmp/diff_new_pack.jep8Xn/_new 2022-08-05 19:52:45.393727663 +0200 @@ -1,7 +1,7 @@ # # spec file for package redeclipse # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,7 +20,7 @@ Version: 2.0.0 Release: 0 Summary: Fast-paced first person ego shooter -License: Zlib AND CC-BY-SA-3.0 +License: CC-BY-SA-3.0 AND Zlib Group: Amusements/Games/3D/Shoot URL: http://www.redeclipse.net/ Source: https://github.com/redeclipse/base/releases/download/v%{version}/%{name}_%{version}_nix.tar.bz2 @@ -28,7 +28,7 @@ Patch0: windowed-by-default.patch Patch1: system_sqlite.patch -BuildRequires: SDL2-devel +BuildRequires: discord-rpc-devel BuildRequires: ed BuildRequires: fdupes BuildRequires: gcc-c++ @@ -45,9 +45,9 @@ Requires: %{name}-data >= %{version} %description -Red Eclipse 2 is a first person shooter based on the tesseract engine. +Red Eclipse 2 is a first-person shooter based on the tesseract engine. Parkour gameplay, different game modes, and several mutators to make the game very flexible. -Map editor is included. +A map editor is included. %package data Summary: Data files for the Red Eclipse game @@ -66,9 +66,11 @@ This package contains the server binary for the Red Eclipse game. %prep -%setup -q -%patch0 -p1 -%patch1 -p1 +%autosetup -p1 +# Make sure we use no externally-provided blobs +rm -rf bin/x86 bin/amd64 +# Use the system discord headers +rm -rf src/shared/discord_rpc.h src/shared/discord_register.h rm -r src/enet/ rm -r src/include/ @@ -83,7 +85,7 @@ sed -i 's/mapeditor/mapeditor;/g' src/install/nix/redeclipse.desktop.am %build -make %{?_smp_mflags} \ +%make_build \ CXXFLAGS='%{optflags}' \ %ifarch %{ix86} x86_64 WANT_DISCORD=1 \ @@ -91,7 +93,7 @@ LIBENET="" -C src/ %install -make %{?_smp_mflags} CXXFLAGS="%{optflags}" -C src/ \ +%make_build CXXFLAGS="%{optflags}" -C src/ \ DESTDIR=%{buildroot} prefix=%{_prefix} \ libexecdir=%{buildroot}%{_libexecdir} \ docdir=%{buildroot}%{_docdir} \ @@ -110,7 +112,6 @@ %icon_theme_cache_postun %files -%defattr(-,root,root) %license doc/license.txt %doc readme.txt doc/*.txt %doc %{_defaultdocdir}/%{name}/examples/ @@ -124,7 +125,6 @@ %{_mandir}/man6/%{name}.6.* %files data -%defattr(-,root,root) %license doc/license.txt %{_datadir}/%{name}