diff --git a/dash.changes b/dash.changes index ab79955..74bf4ca 100644 --- a/dash.changes +++ b/dash.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Mar 31 11:29:51 UTC 2020 - Martin Liška + +- Add -fcommon to %optflags in order to fix boo#1160260. + ------------------------------------------------------------------- Thu Oct 25 06:07:40 UTC 2018 - sean@suspend.net diff --git a/dash.spec b/dash.spec index 69fca85..d71033f 100644 --- a/dash.spec +++ b/dash.spec @@ -1,7 +1,7 @@ # # spec file for package dash # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # Copyright (c) 2013 Guido Berhoerster. # # All modifications and additions to the file contributed by third parties @@ -23,7 +23,7 @@ Release: 0 Summary: POSIX-compliant Implementation of /bin/sh License: BSD-3-Clause Group: System/Shells -Url: http://gondor.apana.org.au/~herbert/dash/ +URL: http://gondor.apana.org.au/~herbert/dash/ Source: http://gondor.apana.org.au/~herbert/dash/files/dash-%{version}.tar.gz BuildRequires: libedit-devel @@ -35,11 +35,12 @@ possible without sacrificing speed where possible. %setup -q %build +%global optflags %{optflags} -fcommon %configure \ --enable-fnmatch \ --enable-glob \ --with-libedit -make %{?_smp_mflags} +%make_build %install %make_install