Hello community,

here is the log from the commit of package armagetron for openSUSE:Factory 
checked in at 2019-07-24 20:35:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/armagetron (Old)
 and      /work/SRC/openSUSE:Factory/.armagetron.new.4126 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "armagetron"

Wed Jul 24 20:35:59 2019 rev:33 rq:718120 version:0.2.8.3.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/armagetron/armagetron.changes    2018-04-19 
15:28:40.253062582 +0200
+++ /work/SRC/openSUSE:Factory/.armagetron.new.4126/armagetron.changes  
2019-07-24 20:36:01.606570850 +0200
@@ -1,0 +2,7 @@
+Wed Jul 24 07:10:21 UTC 2019 - Luigi Baldoni <[email protected]>
+
+- Disable LTO to fix Factory build
+- Enable PIE
+- Spec cleanup
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ armagetron.spec ++++++
--- /var/tmp/diff_new_pack.BqS635/_old  2019-07-24 20:36:03.070570689 +0200
+++ /var/tmp/diff_new_pack.BqS635/_new  2019-07-24 20:36:03.114570684 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package armagetron
 #
-# 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
 # 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)
 # 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/
 #
 
 
@@ -20,10 +20,10 @@
 Version:        0.2.8.3.4
 Release:        0
 Summary:        OpenGL Game Similar to the Film Tron
-License:        GPL-2.0+
+License:        GPL-2.0-or-later
 Group:          Amusements/Games/Action/Arcade
-Url:            http://armagetronad.sourceforge.net
-Source:         
http://sourceforge.net/projects/armagetronad/files/stable/%{version}/armagetronad-%{version}.src.tar.bz2
+URL:            http://armagetronad.sourceforge.net
+Source:         
https://sourceforge.net/projects/armagetronad/files/stable/%{version}/armagetronad-%{version}.src.tar.bz2
 Source1:        armagetron_add.tar.bz2
 # PATCH-FIX-OPENSUSE bmwiedemann -- fix build-compare
 Patch0:         reproducible.patch
@@ -34,16 +34,13 @@
 BuildRequires:  gcc-c++
 BuildRequires:  libpng-devel
 BuildRequires:  libxml2-devel
+BuildRequires:  llvm-clang
 BuildRequires:  update-desktop-files
 BuildRequires:  pkgconfig(SDL_image)
 BuildRequires:  pkgconfig(SDL_mixer)
 BuildRequires:  pkgconfig(glu)
 BuildRequires:  pkgconfig(sdl)
-%if 0%{?suse_version} > 1315
-BuildRequires:  llvm-clang
-%endif
 Requires(post): coreutils
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 In this game, race against other players on a permanently moving
@@ -60,15 +57,15 @@
 
 %build
 autoreconf -fi
-tmpflags="%{optflags}"
-%if 0%{?suse_version} > 1315
+# clang does not support lto yet
+%define _lto_cflags %{nil}
+tmpflags="%{optflags} -fPIE -pie"
 export CC=clang
 export CXX=clang++
 # bypass boo#927268 for PowerPC clang
 %ifarch ppc64 ppc64le
 tmpflags=${tmpflags/-fstack-protector-strong}
 %endif
-%endif
 %configure \
        --enable-music \
        --enable-glout \
@@ -103,7 +100,7 @@
 %suse_update_desktop_file Armagetron Game ArcadeGame
 
 %files
-%defattr(-,root,root)
+%license COPYING
 %doc README armagetron_doc/*
 %doc %{_docdir}/%{name}/README.SUSE
 %config %{_sysconfdir}/armagetronad


Reply via email to