Accepting request 86674 from home:uli_suse:branches:Education

- cross-build fix: use %__cc macro

OBS-URL: https://build.opensuse.org/request/show/86674
OBS-URL: https://build.opensuse.org/package/show/Education/garlic?expand=0&rev=4
This commit is contained in:
Lars Vogdt 2011-10-05 15:50:17 +00:00 committed by Git OBS Bridge
parent 207169c246
commit 2156b4ba7e
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Oct 5 12:46:04 UTC 2011 - uli@suse.com
- cross-build fix: use %__cc macro
-------------------------------------------------------------------
Mon Nov 8 13:21:56 UTC 2010 - coolo@novell.com

View File

@ -1,7 +1,7 @@
#
# spec file for package garlic (Version 1.6)
# spec file for package garlic
#
# 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
@ -62,7 +62,7 @@ chmod -x README favicon.ico tolower.script garlic.gif cookbook/garlic.gif precom
cd ..
%build
make %{?jobs:-j%jobs} CCOPT="$RPM_OPT_FLAGS" LIBPATH="-L/usr/%{_lib}"
make %{?jobs:-j%jobs} CC="%__cc" CCOPT="$RPM_OPT_FLAGS" LIBPATH="-L/usr/%{_lib}"
%install
mkdir -p $RPM_BUILD_ROOT/{usr/%{_xorg7bin},etc,%{_xorg7_mandir}/man1/}