Hello community,
here is the log from the commit of package erlang for openSUSE:Factory checked in at 2019-09-04 09:15:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/erlang (Old)
and /work/SRC/openSUSE:Factory/.erlang.new.7948 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "erlang"
Wed Sep 4 09:15:48 2019 rev:87 rq:727982 version:22.0.7
Changes:
--------
--- /work/SRC/openSUSE:Factory/erlang/erlang.changes 2019-08-05 10:37:24.271327213 +0200
+++ /work/SRC/openSUSE:Factory/.erlang.new.7948/erlang.changes 2019-09-04 09:16:39.206927211 +0200
@@ -1,0 +2,7 @@
+Tue Aug 27 10:51:47 UTC 2019 - Martin Liška
+
+- Udate -ffat-lto-objects in order to properly build static libraries
+ provided by the package (boo#1142645).
+- Use %make_build macro.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ erlang.spec ++++++
--- /var/tmp/diff_new_pack.QlnrQ6/_old 2019-09-04 09:16:40.386927047 +0200
+++ /var/tmp/diff_new_pack.QlnrQ6/_new 2019-09-04 09:16:40.394927045 +0200
@@ -315,6 +315,7 @@
sed -i 's|WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs`|WX_LIBS="`$WX_CONFIG_WITH_ARGS --libs` -lGLU"|' lib/wx/configure || return 1
%build
+%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
# we need build only 1.6 target for java
# for SLE only
%if 0%{?sles_version} >= 10 || 0%{?suse_version} >= 1110
@@ -340,11 +341,10 @@
%endif
--enable-shared-zlib
# clean stalled files before rebuild them
-make %{?_smp_mflags} clean
-# should work up to at least -j8
-make %{?_smp_mflags}
+%make_build clean
+%make_build
# to build the docs, just compiled erlang is required
-PATH=$PWD/bin:$PATH make %{?_smp_mflags} docs
+PATH=$PWD/bin:$PATH %make_build docs
%install
%if 0%{?sles_version} >= 10