Skip to content

Commit

Permalink
Use prefix macro in spec file
Browse files Browse the repository at this point in the history
Also in manpage, macro .fi should be used instead of .ni
  • Loading branch information
jfriesse committed Nov 24, 2010
1 parent cf9f5f6 commit c705845
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
6 changes: 3 additions & 3 deletions omping.8
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ using omping. In this situation, we have 3 computers named node-01, node-02 and
.PP
.nf
$ omping node-01 node-02 node-03
.ni
.fi
.PP
on all of nodes we should be able to seen similar output
.PP
Expand All @@ -76,7 +76,7 @@ node-01 : unicast, seq=1, size=69 bytes, dist=0, time=0.192ms (0.192 avg, 0% l
node-01 : multicast, seq=1, size=69 bytes, dist=0, time=0.284ms (0.284 avg, 0% loss)
node-03 : unicast, seq=1, size=69 bytes, dist=0, time=0.279ms (0.279 avg, 0% loss)
node-03 : multicast, seq=1, size=69 bytes, dist=0, time=0.360ms (0.360 avg, 0% loss)
.ni
.fi
.PP
The first two lines tell us, that node-02 (actual node) is waiting for a response
message from node-01 and node-03. The second two lines contain information, that
Expand Down Expand Up @@ -110,7 +110,7 @@ node-01 : unicast, xmt/rcv/%loss = 389/389/0%, min/avg/max = 0.267/0.289/0.386
node-01 : multicast, xmt/rcv/%loss = 389/389/0%, min/avg/max = 0.306/0.332/0.540
node-03 : unicast, xmt/rcv/%loss = 289/289/0%, min/avg/max = 0.262/0.284/0.365
node-03 : multicast, xmt/rcv/%loss = 289/289/0%, min/avg/max = 0.325/0.356/0.548
.ni
.fi
.SH BUGS
.IP \[bu] 2
Packet duplicate detection is not implemented.
Expand Down
7 changes: 5 additions & 2 deletions omping.spec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Name: omping
Version: 0.0.1
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Utility to test IP multicast functionality
Group: Applications/Internet
License: ISC
Expand All @@ -20,7 +20,7 @@ make %{?_smp_mflags} CFLAGS="%{optflags}"

%install
rm -rf %{buildroot}
make DESTDIR="%{buildroot}" PREFIX="/usr" install
make DESTDIR="%{buildroot}" PREFIX="%{_prefix}" install

%clean
rm -rf %{buildroot}
Expand All @@ -32,5 +32,8 @@ rm -rf %{buildroot}
%{_mandir}/man8/*

%changelog
* Wed Nov 24 2010 Jan Friesse <[email protected]> - 0.0.1-2
- Change hard coded prefix path to macro

* Fri Nov 19 2010 Jan Friesse <[email protected]> - 0.0.1-1
- Initial package for Fedora

0 comments on commit c705845

Please sign in to comment.