Fix problems in RPM spec file.

Specifically, remove an unneeded dependency on libuuid and fix up
set of doc files to be installed to match reality.

Tested on CentOS 6.
This commit is contained in:
Bruce A. Mah 2015-07-07 14:04:26 -07:00
parent 466a86f9db
commit ba6cd6a9a5

View File

@ -11,8 +11,6 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
%if 0%{?el5}
BuildRequires: e2fsprogs-devel
%else
BuildRequires: libuuid-devel
%endif
%description
@ -45,7 +43,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc AUTHORS INSTALL
%%doc README.md INSTALL LICENSE RELEASE_NOTES
%{_mandir}/man1/iperf3.1.gz
%{_mandir}/man3/libiperf.3.gz
%{_bindir}/iperf3