Accepting request 150510 from network:utilities

- Enable missing ipv6 support 
- tweak out CFLAGS. (forwarded request 150502 from elvigia)

OBS-URL: https://build.opensuse.org/request/show/150510
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fping?expand=0&rev=21
This commit is contained in:
Stephan Kulow 2013-01-31 13:46:38 +00:00 committed by Git OBS Bridge
commit a815c2a443
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