Dominique Leuenberger 2019-08-13 11:21:42 +00:00 committed by Git OBS Bridge
commit d852a1efce
2 changed files with 16 additions and 3 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Sun Aug 11 17:58:36 UTC 2019 - Benoît Monin <benoit.monin@gmx.fr>
- run spec-cleaner
* update copyright date
* update bugzilla url
* correct the license
- fix the configure failure by building the endianess test without
optimization
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Dec 18 09:12:00 UTC 2017 - aloisio@gmx.com Mon Dec 18 09:12:00 UTC 2017 - aloisio@gmx.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package scummvm # spec file for package scummvm
# #
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
@ -23,7 +23,7 @@ Name: scummvm
Version: 2.0.0 Version: 2.0.0
Release: 0 Release: 0
Summary: Interpreter for several adventure games Summary: Interpreter for several adventure games
License: GPL-2.0+ License: GPL-2.0-or-later
Group: Amusements/Games/Other Group: Amusements/Games/Other
Url: http://www.scummvm.org/ Url: http://www.scummvm.org/
Source: http://www.scummvm.org/frs/scummvm/%{version}/scummvm-%{version}.tar.xz Source: http://www.scummvm.org/frs/scummvm/%{version}/scummvm-%{version}.tar.xz
@ -88,6 +88,9 @@ DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\""
TIME="\"$(date -d "${modified}" "+%%R")\"" TIME="\"$(date -d "${modified}" "+%%R")\""
sed -i "s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g" \ sed -i "s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g" \
base/version.cpp backends/plugins/elf/version.cpp base/version.cpp backends/plugins/elf/version.cpp
# build the endianness test without optimization otherwise gcc is too smart
# and optimize everything away, making the test fail
sed -i '/tmp_endianness_check.cpp/ s/$CXXFLAGS/$CXXFLAGS -fno-lto -O0/' configure
%build %build
# No rpm configure because scummvm's configure isn't a real configure and thus # No rpm configure because scummvm's configure isn't a real configure and thus