Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fping: fix build for IPv6, update to version 3.4 release 2 #333

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 5 additions & 10 deletions specs/fping/fping.spec
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Summary: Utility to ping multiple hosts at once
Name: fping
Version: 3.4
Release: 1%{?dist}
Release: 2%{?dist}
License: distributable
Group: Applications/Internet
URL: http://www.fping.org/
Expand Down Expand Up @@ -44,20 +44,12 @@ will be considered unreachable.
#{__automake} --add-missing

%build
%configure --program-prefix="%{?_program_prefix}"
%{__make} %{?_smp_mflags}
%{__mv} -f src/fping src/fping6

%configure \
--program-prefix="%{?_program_prefix}" \
--disable-ipv6
%configure --program-prefix="%{?_program_prefix}" --enable-ipv6
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__make} install DESTDIR="%{buildroot}"
%{__install} -Dp -m4755 src/fping6 %{buildroot}%{_sbindir}/fping6
%{__ln_s} -f fping.8 %{buildroot}%{_mandir}/man8/fping6.8

%clean
%{__rm} -rf %{buildroot}
Expand All @@ -73,6 +65,9 @@ will be considered unreachable.
%{_sbindir}/fping6

%changelog
* Sun May 4 2014 Stoned Elipot <stoned.elipot@gmail.com> - 3.4-2
- Fix build for IPv6.

* Sun Sep 23 2012 Dag Wieers <dag@wieers.com> - 3.4-1
- Updated to release 3.4.

Expand Down