]> git.pld-linux.org Git - packages/arping.git/commitdiff
- use CC and CFLAGS
authorsparky <sparky@pld-linux.org>
Sun, 26 Feb 2006 14:35:00 +0000 (14:35 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    arping.spec -> 1.10

arping.spec

index c65c9cbcc6e92862b32f5ea4882f2ee4deee91ae..7fb829fe4fd17f3938b18228277ff5a14544522b 100644 (file)
@@ -10,6 +10,7 @@ Source0:      ftp://ftp.habets.pp.se/pub/synscan/%{name}-%{version}.tar.gz
 # Source0-md5: 96e7c2ce8ae09046e264a314eeaac4dd
 BuildRequires: libnet-devel
 BuildRequires: libpcap-devel
+BuildRequires: sed >= 4.0
 Provides:      arping
 Obsoletes:     arping
 Obsoletes:     iputils-arping
@@ -26,9 +27,13 @@ ARP.
 
 %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
This page took 0.079567 seconds and 4 git commands to generate.