diff --git a/libreoffice.changes b/libreoffice.changes index eb23f27..a0ff2ce 100644 --- a/libreoffice.changes +++ b/libreoffice.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Sep 17 12:05:26 UTC 2015 - tchvatal@suse.com + +- Make debuginfo's smaller on IBS. + ------------------------------------------------------------------- Thu Sep 17 08:20:21 UTC 2015 - tchvatal@suse.com diff --git a/libreoffice.spec b/libreoffice.spec index 9d3acf6..8dfa536 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -1034,7 +1034,12 @@ fi # make sure that JAVA_HOME is set correctly source %{_sysconfdir}/profile.d/alljava.sh # use RPM_OPT_FLAGS, ... +%if 0%{?is_opensuse} != 1 +# ON IBS remove big debugsymbols as we simply consume too much space +ARCH_FLAGS="`echo %{optflags} | sed -e 's/^-g /-g1 /g' -e 's/ -g / -g1 /g' -e 's/ -g$/ -g1/g'`" +%else ARCH_FLAGS="%{optflags}" +%endif CFLAGS="$ARCH_FLAGS" CXXFLAGS="$ARCH_FLAGS" export ARCH_FLAGS CFLAGS CXXFLAGS