Hello community, here is the log from the commit of package trigger-rally for openSUSE:Factory checked in at 2017-02-22 13:56:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/trigger-rally (Old) and /work/SRC/openSUSE:Factory/.trigger-rally.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "trigger-rally" Changes: -------- --- /work/SRC/openSUSE:Factory/trigger-rally/trigger-rally.changes 2017-01-25 23:16:46.998061250 +0100 +++ /work/SRC/openSUSE:Factory/.trigger-rally.new/trigger-rally.changes 2017-02-22 13:56:33.926442670 +0100 @@ -1,0 +2,14 @@ +Fri Feb 17 10:47:11 UTC 2017 - r...@fthiessen.de + +- Update to version 0.6.5 + * Fixed compilation error of "hiscore1.h" by C++11 compilers + * Added 2 new events and 13 new single races (total 25 new races) + * Added "road sign" option for map creators + * Updated code to use TinyXML-2, SDL2 and SDL2_image + * Improved code friendliness to Linux when searching for the + default configuration file "trigger-rally.config.defs" +- Dropped upstream merged hiscore1.h.patch +- Upstream switched from SDL to SDL2, corrected BuildRequires. +- Fixed file-contains-date-and-time warning + +------------------------------------------------------------------- Old: ---- hiscore1.h.patch trigger-rally-0.6.4.tar.gz New: ---- trigger-rally-0.6.5.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ trigger-rally.spec ++++++ --- /var/tmp/diff_new_pack.SgjKcM/_old 2017-02-22 13:56:37.249969869 +0100 +++ /var/tmp/diff_new_pack.SgjKcM/_new 2017-02-22 13:56:37.253969300 +0100 @@ -1,7 +1,7 @@ # # spec file for package trigger-rally # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: trigger-rally -Version: 0.6.4 +Version: 0.6.5 Release: 0 Summary: Fast-paced single-player rally racing game License: GPL-2.0 @@ -28,21 +28,24 @@ Source1: %{name}.desktop # PATCH-FEATURE-UPSTREAM https://sourceforge.net/p/trigger-rally/patches/15/ Source2: %{name}.appdata.xml -# PATCH-FIX-UPSTREAM https://sourceforge.net/p/trigger-rally/patches/13/ -Patch0: hiscore1.h.patch +Source99: %{name}.changes BuildRequires: dos2unix BuildRequires: fdupes +%if %{?suse_version} > 1320 +BuildRequires: gcc-c++ >= 5.0 +%else BuildRequires: gcc5-c++ +%endif BuildRequires: hicolor-icon-theme BuildRequires: physfs-devel BuildRequires: update-desktop-files -BuildRequires: pkgconfig(SDL_image) +BuildRequires: pkgconfig(SDL2_image) BuildRequires: pkgconfig(freealut) BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(glew) BuildRequires: pkgconfig(glu) BuildRequires: pkgconfig(openal) -BuildRequires: pkgconfig(sdl) +BuildRequires: pkgconfig(sdl2) BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -53,11 +56,16 @@ %prep %setup -q -%patch0 dos2unix doc/*.txt bin/*.defs +modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{SOURCE99}")" +DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\"" +TIME="\"$(date -d "${modified}" "+%%R")\"" +sed -i "s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g" src/PEngine/app.cpp src/Trigger/menu.cpp %build -CXX=g++-5 CC=gcc-5 \ +%if %{?suse_version} <= 1320 +export CXX=g++-5 CC=gcc-5 +%endif make --directory=src prefix=%{_prefix} exec_prefix=%{_prefix} bindir=%{_bindir} %install ++++++ trigger-rally-0.6.4.tar.gz -> trigger-rally-0.6.5.tar.gz ++++++ /work/SRC/openSUSE:Factory/trigger-rally/trigger-rally-0.6.4.tar.gz /work/SRC/openSUSE:Factory/.trigger-rally.new/trigger-rally-0.6.5.tar.gz differ: char 5, line 1