diff --git a/fping.changes b/fping.changes index a65b02c..2172953 100644 --- a/fping.changes +++ b/fping.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Jan 31 02:07:20 UTC 2013 - crrodriguez@opensuse.org + +- Enable missing ipv6 support +- tweak out CFLAGS. + ------------------------------------------------------------------- Tue Oct 16 09:52:22 UTC 2012 - puzel@suse.com diff --git a/fping.spec b/fping.spec index 2129a91..aa40c63 100644 --- a/fping.spec +++ b/fping.spec @@ -1,7 +1,7 @@ # # spec file for package fping # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 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 @@ -45,10 +45,11 @@ Unlike ping, FPing is meant to be used in scripts. Its output is designed to be easy to parse. %prep -%setup +%setup -q %build -%configure +export CFLAGS="%optflags -D_GNU_SOURCE -fwhole-program" +%configure --enable-ipv6 --enable-ipv4 make %{?_smp_mflags} %install @@ -57,7 +58,8 @@ make %{?_smp_mflags} %files %defattr(-,root,root) %doc ChangeLog COPYING README -%doc %{_mandir}/man8/fping.8* +%{_mandir}/man8/fping*.8* %{_sbindir}/fping +%{_sbindir}/fping6 %changelog