From ef89e04fd47e1c63f424b4a5dac685666361d9c7b3be27a35ed63cde7d64c44a Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Thu, 26 Sep 2019 07:24:44 +0000 Subject: [PATCH] - filter out LTO warnings about our data-only .a files. OBS-URL: https://build.opensuse.org/package/show/Emulators/wine?expand=0&rev=653 --- wine-rpmlintrc | 2 ++ wine.changes | 5 +++++ wine.spec | 3 ++- 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 wine-rpmlintrc diff --git a/wine-rpmlintrc b/wine-rpmlintrc new file mode 100644 index 0000000..ff1d285 --- /dev/null +++ b/wine-rpmlintrc @@ -0,0 +1,2 @@ +# Some of our .a files are data only, rpmlint check does not cover that +addFilter("lto-no-text-in-archive,*\.a$") diff --git a/wine.changes b/wine.changes index 30f06b1..690bbd7 100644 --- a/wine.changes +++ b/wine.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Sep 26 07:24:09 UTC 2019 - Marcus Meissner + +- filter out LTO warnings about our data-only .a files. + ------------------------------------------------------------------- Sat Sep 14 07:04:58 UTC 2019 - Marcus Meissner diff --git a/wine.spec b/wine.spec index 2087ce7..0922ec6 100644 --- a/wine.spec +++ b/wine.spec @@ -126,6 +126,7 @@ Source3: README.SUSE Source4: wine.desktop Source6: wine-msi.desktop Source5: ubuntuwine.tar.bz2 +Source6: wine-rpmlintrc Source7: baselibs.conf # SUSE specific patches # - currently none, but add them here @@ -246,7 +247,7 @@ autoreconf -i -f # keep just for susepatches with configure changes #autoconf #autoheader -I include -CFLAGS="$RPM_OPT_FLAGS -ffat-lto-objects" \ +CFLAGS="$RPM_OPT_FLAGS" \ %configure \ --with-x \ %ifarch %{arm}