From ac224911361647f1ea3e4dad777ed5b93befa00582b18eb57c4d164c3e261b4e Mon Sep 17 00:00:00 2001 From: Andreas Stieger Date: Thu, 31 Jan 2013 06:40:27 +0000 Subject: [PATCH] Accepting request 150502 from home:elvigia:branches:network:utilities - Enable missing ipv6 support - tweak out CFLAGS. OBS-URL: https://build.opensuse.org/request/show/150502 OBS-URL: https://build.opensuse.org/package/show/network:utilities/fping?expand=0&rev=18 --- fping.changes | 6 ++++++ fping.spec | 10 ++++++---- 2 files changed, 12 insertions(+), 4 deletions(-) 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