From cbc881459bb504847b2e68b9537de615c5a29ff45422261bc2db2f05eb6ed62c Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 4 Oct 2011 08:43:19 +0000 Subject: [PATCH] Accepting request 86400 from home:uli_suse:branches:Base:System - cross-build fix: use %__cc macro OBS-URL: https://build.opensuse.org/request/show/86400 OBS-URL: https://build.opensuse.org/package/show/Base:System/i2c-tools?expand=0&rev=13 --- i2c-tools.changes | 5 +++++ i2c-tools.spec | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/i2c-tools.changes b/i2c-tools.changes index 4b2c8eb..5e8875e 100644 --- a/i2c-tools.changes +++ b/i2c-tools.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Sep 30 15:24:24 UTC 2011 - uli@suse.com + +- cross-build fix: use %__cc macro + ------------------------------------------------------------------- Mon Dec 13 21:20:20 CET 2010 - jdelvare@suse.de diff --git a/i2c-tools.spec b/i2c-tools.spec index 71ee26a..e154832 100644 --- a/i2c-tools.spec +++ b/i2c-tools.spec @@ -1,7 +1,7 @@ # -# spec file for package i2c-tools (Version 3.0.3) +# spec file for package i2c-tools # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -51,7 +51,7 @@ Authors: %setup -q %build -make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" +make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" CC="%{__cc}" %install make install DESTDIR=$RPM_BUILD_ROOT prefix=/usr