diff --git a/librtas-doc.spec b/librtas-doc.spec index afbfce7..c01b624 100644 --- a/librtas-doc.spec +++ b/librtas-doc.spec @@ -1,7 +1,7 @@ # # spec file for package librtas-doc # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -25,7 +25,7 @@ BuildRequires: doxygen BuildRequires: fdupes BuildRequires: libtool Summary: Documents for librtas -License: LGPL-2.1+ +License: LGPL-2.1-or-later Group: Documentation/Other BuildRoot: %{_tmppath}/%{name}-%{version}-build ExclusiveArch: ppc ppc64 ppc64le diff --git a/librtas.changes b/librtas.changes index fb9de0c..9587222 100644 --- a/librtas.changes +++ b/librtas.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Sep 15 10:13:00 UTC 2019 - Michel Normand + +- Add -ffat-lto-objects to avoid ppc64le build error + ------------------------------------------------------------------- Mon Jul 2 12:30:18 UTC 2018 - jloeser@suse.com diff --git a/librtas.spec b/librtas.spec index dcd12c3..453c50f 100644 --- a/librtas.spec +++ b/librtas.spec @@ -1,7 +1,7 @@ # # spec file for package librtas # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -22,7 +22,7 @@ Name: librtas Version: 2.0.2 Release: 0 Summary: Libraries to provide access to RTAS calls and RTAS events -License: LGPL-2.1+ +License: LGPL-2.1-or-later Group: System/Libraries BuildRoot: %{_tmppath}/%{name}-%{version}-build ExclusiveArch: ppc ppc64 ppc64le @@ -80,6 +80,7 @@ contents of RTAS events. %patch0 -p1 %build +%global _lto_cflags %{_lto_cflags} -ffat-lto-objects ./autogen.sh %configure make CFLAGS="%optflags -fPIC -g -I $PWD/librtasevent_src" LIB_DIR="%{_libdir}" %{?_smp_mflags}