- Set CFLAGS+=-fcommon.

OBS-URL: https://build.opensuse.org/package/show/games/chocolate-doom?expand=0&rev=37
This commit is contained in:
Jan Engelhardt 2020-06-06 23:53:45 +00:00 committed by Git OBS Bridge
parent 52607e2dc2
commit 33c90710e2
2 changed files with 8 additions and 6 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Jun 6 23:53:33 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
- Set CFLAGS+=-fcommon.
-------------------------------------------------------------------
Wed Nov 14 08:29:31 UTC 2018 - Jan Engelhardt <jengelh@inai.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package chocolate-doom
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -22,7 +22,7 @@ Release: 0
Summary: Conservative DOOM/Heretic/Hexen/Strife source port
License: GPL-2.0-or-later
Group: Amusements/Games/3D/Shoot
Url: http://chocolate-doom.org/
URL: http://chocolate-doom.org/
#Git-Clone: git://github.com/fragglet/chocolate-doom
#Git-Web: https://github.com/fragglet/chocolate-doom
@ -30,7 +30,6 @@ Source: http://www.chocolate-doom.org/downloads/%version/%name-%version.
Source2: http://www.chocolate-doom.org/downloads/%version/%name-%version.tar.gz.asc
Source3: %name.keyring
Patch1: chdoom-iwaddir.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: fdupes
@ -71,7 +70,7 @@ Additions for bash-completion to support chocolate-doom.
%build
autoreconf -fi
%configure
%configure CFLAGS="%optflags -fcommon"
make %{?_smp_mflags}
%install
@ -87,7 +86,6 @@ rm -f "$b/%_datadir/applications/chocolate-setup.desktop" # has wrong paths
echo "INFO: %name: The global IWAD directory is %_datadir/doom."
%files
%defattr(-,root,root)
%_bindir/chocolate-*
%_mandir/man*/*
%_datadir/appdata/
@ -96,7 +94,6 @@ echo "INFO: %name: The global IWAD directory is %_datadir/doom."
%_docdir/chocolate-*/
%files bash-completion
%defattr(-,root,root)
%_datadir/bash-completion/
%changelog