From f153efbba2eb512db8a3a64d2f73339cd77a6e666990a9f4fd37e3f43381ba28 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 2 Jun 2020 12:08:32 +0000 Subject: [PATCH] - Enable -fcommon which is not default with GCC10. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-parted?expand=0&rev=10 --- python-parted.changes | 5 +++++ python-parted.spec | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/python-parted.changes b/python-parted.changes index a986716..ece789b 100644 --- a/python-parted.changes +++ b/python-parted.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 2 12:08:22 UTC 2020 - Matej Cepl + +- Enable -fcommon which is not default with GCC10. + ------------------------------------------------------------------- Thu May 24 15:26:23 UTC 2018 - tchvatal@suse.com diff --git a/python-parted.spec b/python-parted.spec index af87b22..bdf1697 100644 --- a/python-parted.spec +++ b/python-parted.spec @@ -1,7 +1,7 @@ # # spec file for package python-parted # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # 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/ # @@ -54,6 +54,8 @@ partition tables. %autopatch -p1 %build +export CFLAGS="%{optflags} -fcommon" +export CXXFLAGS="%{optflags} -fcommon" %python_build %install