Hello community,
here is the log from the commit of package endless-sky for openSUSE:Factory checked in at 2020-01-31 23:58:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/endless-sky (Old)
and /work/SRC/openSUSE:Factory/.endless-sky.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "endless-sky"
Fri Jan 31 23:58:09 2020 rev:5 rq:769071 version:0.9.10
Changes:
--------
--- /work/SRC/openSUSE:Factory/endless-sky/endless-sky.changes 2019-10-09 15:20:31.308333656 +0200
+++ /work/SRC/openSUSE:Factory/.endless-sky.new.26092/endless-sky.changes 2020-01-31 23:59:15.507712781 +0100
@@ -1,0 +2,5 @@
+Thu Jan 30 14:16:34 UTC 2020 - Cristian Rodríguez
+
+- Respect %optflags, fix debuginfo generation.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ endless-sky.spec ++++++
--- /var/tmp/diff_new_pack.xOyms4/_old 2020-01-31 23:59:17.611713872 +0100
+++ /var/tmp/diff_new_pack.xOyms4/_new 2020-01-31 23:59:17.619713876 +0100
@@ -1,7 +1,7 @@
#
# spec file for package endless-sky
#
-# Copyright (c) 2019 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 @@
Summary: Space exploration, trading, and combat game
License: GPL-3.0-only AND CC-BY-SA-4.0 AND CC-BY-SA-3.0 AND CC-BY-3.0
Group: Amusements/Games/Action/Arcade
-Url: http://endless-sky.github.io/
+URL: http://endless-sky.github.io/
Source0: https://github.com/%{name}/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source99: %{name}-rpmlintrc
# PATCH-FIX-OPENSUSE fix-data-path.patch -- Fix installation path of data
@@ -55,9 +55,13 @@
%patch0 -p1
%build
-scons
+export CXXFLAGS="%optflags -fvisibility=hidden -fvisibility-inlines-hidden"
+export CFLAGS="%optflags -fvisibility=hidden"
+scons PREFIX=%{_prefix} DESTDIR=%{buildroot}
%install
+export CXXFLAGS="%optflags -fvisibility=hidden -fvisibility-inlines-hidden"
+export CFLAGS="%optflags -fvisibility=hidden"
scons install PREFIX=%{_prefix} DESTDIR=%{buildroot}
mkdir -p %{buildroot}%{_bindir}