Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package tecnoballz for openSUSE:Factory checked in at 2023-05-04 17:11:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/tecnoballz (Old) and /work/SRC/openSUSE:Factory/.tecnoballz.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tecnoballz" Thu May 4 17:11:36 2023 rev:5 rq:1084672 version:0.93.1 Changes: -------- --- /work/SRC/openSUSE:Factory/tecnoballz/tecnoballz.changes 2019-08-30 14:41:56.177417682 +0200 +++ /work/SRC/openSUSE:Factory/.tecnoballz.new.1533/tecnoballz.changes 2023-05-04 17:11:46.088784271 +0200 @@ -1,0 +2,9 @@ +Thu May 4 08:03:46 UTC 2023 - Bjørn Lie <bjorn....@gmail.com> + +- Add disable-Werror.patch: disable Werror, patch lifted from + debian. Yes this is a bit of a big hammer, but it works. +- Following the above, drop + 0001-Workaround-compilation-warnings-with-gccs-8.0.patch +- Use autosetup and make_build macros. + +------------------------------------------------------------------- Old: ---- 0001-Workaround-compilation-warnings-with-gccs-8.0.patch New: ---- disable-Werror.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tecnoballz.spec ++++++ --- /var/tmp/diff_new_pack.jzWyRm/_old 2023-05-04 17:11:46.644787526 +0200 +++ /var/tmp/diff_new_pack.jzWyRm/_new 2023-05-04 17:11:46.648787550 +0200 @@ -1,7 +1,7 @@ # # spec file for package tecnoballz # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2023 SUSE LLC # Copyright Vincent Petry <pvinc...@yahoo.fr> # # All modifications and additions to the file contributed by third parties @@ -27,8 +27,8 @@ Source: http://linux.tlk.fr/games/TecnoballZ/download/%{name}-%{version}.tgz Source1: %{name}.desktop Source2: %{name}.png -# PATCH-FIX-OPENSUSE 0001-Workaround-compilation-warnings-with-gccs-8.0.patch -Patch0: 0001-Workaround-compilation-warnings-with-gccs-8.0.patch +# PATCH-FIX-OPENSUSE disable-Werror.patch +Patch1: disable-Werror.patch BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: libtool @@ -50,12 +50,9 @@ game. This game was ported from the Commodore Amiga. %prep -%setup -q -%if 0%{?suse_version} >= 1550 -%patch0 -p1 -%endif +%autosetup -p1 -# Fix games path to %{_bindir} instead of /usr/games +# Fix games path to %%{_bindir} instead of /usr/games find -name Makefile.am -exec sed -i -e "s|^gamesdir =.*$|gamesdir = %{_bindir}|g" \{\} + sed -i -e "s|^CXXFLAGS=\"\(.*\)\"|CXXFLAGS=\"\1 %{optflags}\"|" configure.ac @@ -63,7 +60,7 @@ %build autoreconf -fi %configure -make %{?_smp_mflags} +%make_build %install %make_install ++++++ disable-Werror.patch ++++++ From: Markus Koschany <a...@debian.org> Date: Thu, 2 Oct 2014 18:20:23 +0200 Subject: disable -Werror --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 67c7ec1..59e260e 100644 --- a/configure.ac +++ b/configure.ac @@ -65,7 +65,7 @@ if test "x${enable_devel}" = "xyes"; then AC_DEFINE(UNDER_DEVELOPMENT, 1, Define to enable development version) CXXFLAGS="-Werror -O2 -Wall -pedantic -Wextra -std=gnu++98 -g" else - CXXFLAGS="-O2 -Werror -Wall -pedantic -Wextra -std=gnu++98" + CXXFLAGS="-O2 -Wall -pedantic -Wextra -std=gnu++98" fi AC_OUTPUT(