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
This commit is contained in:
Andreas Stieger 2013-01-31 06:40:27 +00:00 committed by Git OBS Bridge
parent 0172d80c1b
commit ac22491136
2 changed files with 12 additions and 4 deletions

View File

@ -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

View File

@ -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