From 88a167ad6031ed4855a3e4984f0b2ecb1b43f8b1c3aa47762dd96129e785e527 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Thu, 9 Apr 2020 12:42:18 +0000 Subject: [PATCH] Accepting request 790112 from home:marxin:branches:shells - Add -fcommon to %optflags in order to fix boo#1160260. OBS-URL: https://build.opensuse.org/request/show/790112 OBS-URL: https://build.opensuse.org/package/show/shells/dash?expand=0&rev=26 --- dash.changes | 5 +++++ dash.spec | 7 ++++--- 2 files changed, 9 insertions(+), 3 deletions(-) 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