Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package quakespasm for openSUSE:Factory checked in at 2021-02-21 22:14:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/quakespasm (Old) and /work/SRC/openSUSE:Factory/.quakespasm.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "quakespasm" Sun Feb 21 22:14:44 2021 rev:8 rq:874138 version:0.93.2 Changes: -------- --- /work/SRC/openSUSE:Factory/quakespasm/quakespasm.changes 2019-11-15 22:38:21.388145747 +0100 +++ /work/SRC/openSUSE:Factory/.quakespasm.new.28504/quakespasm.changes 2021-02-21 22:14:53.530136097 +0100 @@ -1,0 +2,5 @@ +Sat Feb 20 10:11:15 UTC 2021 - Martin Hauke <mar...@gmx.de> + +- Specfile cleanup + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ quakespasm.spec ++++++ --- /var/tmp/diff_new_pack.GGJHh4/_old 2021-02-21 22:14:55.030137680 +0100 +++ /var/tmp/diff_new_pack.GGJHh4/_new 2021-02-21 22:14:55.034137684 +0100 @@ -1,7 +1,7 @@ # # spec file for package quakespasm # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # Copyright (c) 2017 Luke Jones <luke.nukem.jo...@gmail.com> # # All modifications and additions to the file contributed by third parties @@ -23,14 +23,14 @@ Summary: A Quake Engine License: GPL-2.0-or-later Group: Amusements/Games/3D/Shoot -Url: http://quakespasm.sourceforge.net/ +URL: http://quakespasm.sourceforge.net/ Source: http://ufpr.dl.sourceforge.net/project/quakespasm/Source/%{name}-%{version}.tgz -Source100: quakespasm.appdata.xml Source99: %{name}.changes +Source100: quakespasm.appdata.xml +BuildRequires: pkgconfig BuildRequires: update-desktop-files BuildRequires: pkgconfig(SDL2_net) BuildRequires: pkgconfig(vorbis) -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description QuakeSpasm is a Quake 1 engine based on the SDL2 port of FitzQuake. It includes @@ -39,7 +39,7 @@ Game data must be placed in ~/.quakespasm/id1 . %prep -%setup +%setup -q # Fix usage of __DATE__ and __TIME__ macros to prevent build in excess modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{SOURCE99}")" DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\"" @@ -47,14 +47,13 @@ sed -i "s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g" Quake/host.c # Prepare for later installation mkdir html/ -ln -s README.html ./html/README.html mv Quakespasm.txt README mv Quakespasm-Music.txt MUSIC mv LICENSE.txt LICENSE %build export CFLAGS='%{optflags} -DQUAKE_BASEDIR=\"%{_datadir}/quake\"' -make %{?_smp_mflags} -C Quake\ +%make_build -C Quake\ DO_USERDIRS=1 \ USE_CODEC_MP3=0 \ USE_SDL2=1 @@ -64,26 +63,15 @@ install -D -p -m 644 Misc/QuakeSpasm_512.png %{buildroot}%{_datadir}/pixmaps/quakespasm.png install -D -p -m 644 %{SOURCE100} %{buildroot}%{_datadir}/appdata/%{name}.appdata.xml install -d -m 755 %{buildroot}%{_datadir}/quake/ - %suse_update_desktop_file -c %{name} 'Quake' 'QuakeSpasm' %{name} %{name} Game ActionGame -%post -%desktop_database_post - -%postun -%desktop_database_postun - %files -%defattr(-,root,root) -%doc README MUSIC LICENSE html/ +%license LICENSE +%doc README MUSIC html/ %{_bindir}/%{name} %dir %{_datadir}/quake/ %{_datadir}/pixmaps/%{name}.png %{_datadir}/applications/%{name}.desktop -%if ( 0%{?suse_version} == 1315 && 0%{?sle_version} == 120100 ) || ! 0%{?is_opensuse} -# Leap 42.1 or SLE -%dir %{_datadir}/appdata -%endif %{_datadir}/appdata/%{name}.appdata.xml %changelog