Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package mame for openSUSE:Factory checked in 
at 2023-04-12 12:51:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mame (Old)
 and      /work/SRC/openSUSE:Factory/.mame.new.19717 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mame"

Wed Apr 12 12:51:59 2023 rev:5 rq:1078541 version:0.253

Changes:
--------
--- /work/SRC/openSUSE:Factory/mame/mame.changes        2023-04-10 
20:16:59.076959480 +0200
+++ /work/SRC/openSUSE:Factory/.mame.new.19717/mame.changes     2023-04-12 
12:52:00.373074291 +0200
@@ -1,0 +2,5 @@
+Wed Apr 12 01:17:44 UTC 2023 - Илья Индиго <i...@ilya.cf>
+
+- Disabled gold and enabled 32bit and aarch64 archs with null optflags.
+
+-------------------------------------------------------------------
@@ -5 +10 @@
-- Added files mame.svg and mame-ppc64le.patch (fix build ppc64 and ppc64le 
archs).
+- Added files mame.svg and mame-ppc64le.patch (fix build ppc, ppc64 and 
ppc64le archs).
@@ -10 +15 @@
-  * Dropped file _multibuild, mess subpackage and 32bit archs (random ld oom).
+  * Dropped file _multibuild, mess subpackage and 32bit archs (ld oom with 
optflags).

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

Other differences:
------------------
++++++ mame.spec ++++++
--- /var/tmp/diff_new_pack.tDM5bU/_old  2023-04-12 12:52:01.629081632 +0200
+++ /var/tmp/diff_new_pack.tDM5bU/_new  2023-04-12 12:52:01.633081655 +0200
@@ -37,7 +37,6 @@
 Patch3:         %{name}-fortify.patch
 Patch4:         %{name}-bgfx.patch
 BuildRequires:  asio-devel
-BuildRequires:  binutils-gold
 BuildRequires:  fdupes
 BuildRequires:  hicolor-icon-theme
 BuildRequires:  pkgconfig
@@ -67,8 +66,7 @@
 BuildRequires:  pkgconfig(zlib)
 Requires:       %{name}-data = %{version}
 Suggests:       %{name}-tools = %{version}
-ExcludeArch:    %{ix86} aarch64_ilp32 armv7hl ppc riscv32
-%ifarch ppc64 ppc64le
+%ifarch ppc ppc64 ppc64le
 Patch5:         %{name}-ppc64le.patch
 %endif
 %if 0%{?sle_version} > 150000 && 0%{?sle_version} < 160000
@@ -108,12 +106,12 @@
 
 %build
 %define _lto_cflags %{nil}
-
 MY_OPT_FLAGS=$(echo %{optflags} | sed -re 's@-g($|[0-9])@-g1@g; s@-g\s@-g1 @g')
-MY_LD_FLAGS="${LDFLAGS} -Wl,-v -fuse-ld=gold -Wl,--no-map-whole-files 
-Wl,--no-keep-memory -Wl,--no-keep-files-mapped -Wl,--no-mmap-output-file"
-
 sed -i "s@-Wall -Wextra -Os \$(MPARAM)@$MY_OPT_FLAGS@" 
3rdparty/genie/build/gmake.linux/genie.make
-sed -i "s@-s -rdynamic@$MY_LD_FLAGS -rdynamic@" 
3rdparty/genie/build/gmake.linux/genie.make
+sed -i "s@-s -rdynamic@$LDFLAGS -rdynamic@" 
3rdparty/genie/build/gmake.linux/genie.make
+%ifarch i586 ppc armv6hl armv7hl aarch64_ilp32 aarch64
+MY_OPT_FLAGS=''
+%endif
 
 %make_build \
     NOWERROR=1 \
@@ -139,7 +137,7 @@
     CXX="g++-11" \
 %endif
     OPT_FLAGS="$MY_OPT_FLAGS" \
-    LDOPTS="$MY_LD_FLAGS"
+    LDOPTS="$LDFLAGS"
 
 %install
 install -pm0644 %{SOURCE1} whatsnew-%{version}.txt
@@ -191,7 +189,7 @@
     install -pm0644 %{name}.6 %{buildroot}%{_mandir}/man6
 popd
 
-%fdupes -s %{buildroot}/%{_datadir}/%{name}
+%fdupes -s %{buildroot}%{_datadir}/%{name}
 
 %check
 ./%{name} -validate

Reply via email to