From 9c31acd7ea06a4a32f6c4f49f1a053447f6030ce Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Fri, 11 Aug 2017 13:18:05 +0200 Subject: [PATCH] Don't strip -g from RPM_OPT_FLAGS Missing -g trips over debuginfo generation after latest rpm changes (only on s390x though, for reasons unknown): error: Empty %files file /builddir/build/BUILD/libreoffice-5.4.0.3/debugsourcefiles.list --- libreoffice.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libreoffice.spec b/libreoffice.spec index d986f26..7d3d069 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -992,7 +992,7 @@ export PATH=$QT4DIR/bin:$PATH #use the RPM_OPT_FLAGS but remove the OOo overridden ones for i in $RPM_OPT_FLAGS; do case "$i" in - -pipe|-Wall|-Werror*|-g|-fexceptions) continue;; + -pipe|-Wall|-Werror*|-fexceptions) continue;; esac ARCH_FLAGS="$ARCH_FLAGS $i" done