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