From 10266131b6aa8f6f95c5d1f515824a1280811c6e70ed6f96b468ea04b333a976 Mon Sep 17 00:00:00 2001 From: Lars Vogdt Date: Thu, 6 Oct 2011 22:47:01 +0000 Subject: [PATCH] Accepting request 86929 from network - cross-build fix: use %__cc macro (not %configure, this is not autoconf) (forwarded request 86723 from uli_suse) OBS-URL: https://build.opensuse.org/request/show/86929 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ftp?expand=0&rev=11 --- ftp.changes | 6 ++++++ ftp.spec | 22 +++------------------- 2 files changed, 9 insertions(+), 19 deletions(-) diff --git a/ftp.changes b/ftp.changes index 9e2816a..06d04ba 100644 --- a/ftp.changes +++ b/ftp.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Oct 5 15:01:10 UTC 2011 - uli@suse.com + +- cross-build fix: use %__cc macro (not %configure, this is not + autoconf) + ------------------------------------------------------------------- Fri Apr 11 00:33:29 CEST 2008 - crrodriguez@suse.de diff --git a/ftp.spec b/ftp.spec index 8c48592..ab02264 100644 --- a/ftp.spec +++ b/ftp.spec @@ -1,7 +1,7 @@ # -# spec file for package ftp (Version 0.17) +# spec file for package ftp # -# Copyright (c) 2009 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 @@ -53,7 +53,7 @@ Authors: %patch2 %build -CFLAGS=$RPM_OPT_FLAGS ./configure --without-readline +CFLAGS=$RPM_OPT_FLAGS CC="%__cc" ./configure --without-readline make %install @@ -77,19 +77,3 @@ rm -rf $RPM_BUILD_ROOT %doc %{_mandir}/man5/netrc.5.gz %changelog -* Fri Apr 11 2008 crrodriguez@suse.de -- fix build with glibc 2.8, ARG_MAX no longer defined -* Thu Mar 29 2007 meissner@suse.de -- added ncurses-devel -* Wed Jan 25 2006 mls@suse.de -- converted neededforbuild to BuildRequires -* Fri Jan 13 2006 schwab@suse.de -- Don't strip binaries. -* Sun Jan 11 2004 adrian@suse.de -- add %%defattr -* Wed Sep 26 2001 kukuk@suse.de -- Add patch for LFS support -* Sun Apr 22 2001 kukuk@suse.de -- Add USAGI IPv6 patches -* Fri Sep 29 2000 kukuk@suse.de -- initial version