Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package supertux2 for openSUSE:Factory 
checked in at 2021-09-07 21:22:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/supertux2 (Old)
 and      /work/SRC/openSUSE:Factory/.supertux2.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "supertux2"

Tue Sep  7 21:22:01 2021 rev:11 rq:917334 version:0.6.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/supertux2/supertux2.changes      2020-08-01 
12:33:11.982585648 +0200
+++ /work/SRC/openSUSE:Factory/.supertux2.new.1899/supertux2.changes    
2021-09-07 21:22:48.057403008 +0200
@@ -1,0 +2,5 @@
+Thu Sep  2 10:11:28 UTC 2021 - Jan Engelhardt <[email protected]>
+
+- Reenable PIE/PIC.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ supertux2.spec ++++++
--- /var/tmp/diff_new_pack.xeaFkk/_old  2021-09-07 21:22:49.041404198 +0200
+++ /var/tmp/diff_new_pack.xeaFkk/_new  2021-09-07 21:22:49.045404203 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package supertux2
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -21,7 +21,7 @@
 Version:        0.6.2
 Release:        0
 Summary:        Jump'n run game
-License:        GPL-3.0-or-later AND CC-BY-SA-3.0 AND GPL-2.0-or-later AND 
GPL-1.0-only
+License:        CC-BY-SA-3.0 AND GPL-3.0-or-later AND GPL-2.0-or-later AND 
GPL-1.0-only
 Group:          Amusements/Games/Action/Arcade
 URL:            https://supertux.github.io/
 Source:         
https://github.com/SuperTux/supertux/releases/download/v%{version}/SuperTux-v%{version}-Source.tar.gz
@@ -31,6 +31,10 @@
 BuildRequires:  gcc-c++
 BuildRequires:  graphviz-devel
 BuildRequires:  hicolor-icon-theme
+BuildRequires:  libboost_date_time-devel
+BuildRequires:  libboost_filesystem-devel
+BuildRequires:  libboost_locale-devel
+BuildRequires:  libboost_system-devel
 BuildRequires:  libphysfs-devel
 BuildRequires:  pkgconfig
 BuildRequires:  update-desktop-files
@@ -44,11 +48,6 @@
 BuildRequires:  pkgconfig(sdl2)
 BuildRequires:  pkgconfig(vorbis)
 BuildRequires:  pkgconfig(zlib)
-#!BuildIgnore:  gcc-PIE
-BuildRequires:  libboost_date_time-devel
-BuildRequires:  libboost_filesystem-devel
-BuildRequires:  libboost_locale-devel
-BuildRequires:  libboost_system-devel
 
 %description
 SuperTux is a classic 2D jump'n run sidescroller game in a similar
@@ -64,19 +63,21 @@
 sed -i 's|^\(Icon=\).*$|\1%{name}|' %{name}.desktop
 
 %build
+# Since there are .so files involved, we need stronger than PIE: PIC.
+export CFLAGS="%optflags -fPIC" CXXFLAGS="$CFLAGS"
 %cmake \
   -DINSTALL_SUBDIR_BIN="$(realpath --relative-to=%{_prefix} %{_bindir})"       
     \
   -DINSTALL_SUBDIR_SHARE="$(realpath --relative-to=%{_prefix} 
%{_datadir})/%{name}" \
   -DINSTALL_SUBDIR_DOC="$(realpath --relative-to=%{_prefix} 
%{_docdir})/%{name}" \
   -DENABLE_BOOST_STATIC_LIBS=OFF
-make %{?_smp_mflags}
+%make_build
 
 %install
 %cmake_install
 rm -f %{buildroot}%{_docdir}/%{name}/INSTALL.md
 rm -f %{buildroot}%{_docdir}/%{name}/LICENSE.txt
 %suse_update_desktop_file %{name}
-%fdupes %{buildroot}
+%fdupes %{buildroot}/%{_prefix}
 
 %files
 %doc README.md NEWS.md

Reply via email to