SPECS: arping.spec - use CC and CFLAGS
sparky
sparky at pld-linux.org
Sun Feb 26 15:35:05 CET 2006
Author: sparky Date: Sun Feb 26 14:35:05 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- use CC and CFLAGS
---- Files affected:
SPECS:
arping.spec (1.9 -> 1.10)
---- Diffs:
================================================================
Index: SPECS/arping.spec
diff -u SPECS/arping.spec:1.9 SPECS/arping.spec:1.10
--- SPECS/arping.spec:1.9 Mon Jan 2 22:43:05 2006
+++ SPECS/arping.spec Sun Feb 26 15:35:00 2006
@@ -11,6 +11,7 @@
# Source0-md5: 96e7c2ce8ae09046e264a314eeaac4dd
BuildRequires: libnet-devel
BuildRequires: libpcap-devel
+BuildRequires: sed >= 4.0
Provides: arping
Obsoletes: arping
Obsoletes: iputils-arping
@@ -27,9 +28,13 @@
%prep
%setup -q
+sed '/CC.*arping-2/s/-g/$(CFLAGS)/' \
+ -i Makefile
%build
-%{__make}
+%{__make} \
+ CC="%{__cc}" \
+ CFLAGS="%{rpmcflags}"
%install
rm -rf $RPM_BUILD_ROOT
@@ -55,6 +60,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.10 2006/02/26 14:35:00 sparky
+- use CC and CFLAGS
+
Revision 1.9 2006/01/02 21:43:05 wolvverine
- release 1
- STBR
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/arping.spec?r1=1.9&r2=1.10&f=u
More information about the pld-cvs-commit
mailing list