From 2c983da3bb2d05b4cff004ff11ece083fcdcb7ccda366a30c793073bccd4dfe7 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 5 Oct 2011 15:23:39 +0000 Subject: [PATCH] Accepting request 86685 from home:uli_suse:branches:devel:tools - cross-build fix: use %configure macro OBS-URL: https://build.opensuse.org/request/show/86685 OBS-URL: https://build.opensuse.org/package/show/devel:tools/patch?expand=0&rev=25 --- patch.changes | 5 +++++ patch.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/patch.changes b/patch.changes index 5c7e525..083623b 100644 --- a/patch.changes +++ b/patch.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Oct 5 12:33:53 UTC 2011 - uli@suse.com + +- cross-build fix: use %configure macro + ------------------------------------------------------------------- Mon Apr 4 15:11:04 CEST 2011 - jdelvare@suse.de diff --git a/patch.spec b/patch.spec index dc9ea6f..2e58ac9 100644 --- a/patch.spec +++ b/patch.spec @@ -48,8 +48,8 @@ Authors: %setup -q -n patch-%version%hash %build -CFLAGS="$RPM_OPT_FLAGS -Wall -O2 -pipe" \ -./configure --prefix=%{_prefix} +export CFLAGS="$RPM_OPT_FLAGS -Wall -O2 -pipe" +%configure --prefix=%{_prefix} make %{?_smp_mflags} %{verbose:V=1}; %check