Accepting request 86931 from network:utilities

- cross-build fix: use %__cc macro (forwarded request 86725 from uli_suse)

OBS-URL: https://build.opensuse.org/request/show/86931
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tcpd?expand=0&rev=14
This commit is contained in:
Lars Vogdt 2011-10-06 22:50:44 +00:00 committed by Git OBS Bridge
parent d3dc8ac95c
commit dc6f4b1b88
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Oct 5 15:03:33 UTC 2011 - uli@suse.com
- cross-build fix: use %__cc macro
-------------------------------------------------------------------
Mon Feb 1 12:34:48 UTC 2010 - jengelh@medozas.de

View File

@ -1,7 +1,7 @@
#
# spec file for package tcpd (Version 7.6)
# spec file for package tcpd
#
# 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
@ -129,7 +129,7 @@ to compile and link programs against the TCP wrapper library.
%build
# make RPM_OPT_FLAGS="$RPM_OPT_FLAGS -fPIC -DPIC -D_REENTRANT -DHAVE_STRERROR" LDFLAGS="-pie" MAJOR=%{LIB_MAJOR} MINOR=%{LIB_MINOR} REL=%{LIB_REL} linux
make %{?jobs:-j%jobs} linux
make %{?jobs:-j%jobs} linux CC="%{__cc}"
%install
install -d -m 755 $RPM_BUILD_ROOT%{_includedir}