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:
parent
466a86f9db
commit
ba6cd6a9a5
@ -11,8 +11,6 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|||||||
|
|
||||||
%if 0%{?el5}
|
%if 0%{?el5}
|
||||||
BuildRequires: e2fsprogs-devel
|
BuildRequires: e2fsprogs-devel
|
||||||
%else
|
|
||||||
BuildRequires: libuuid-devel
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -45,7 +43,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc AUTHORS INSTALL
|
%%doc README.md INSTALL LICENSE RELEASE_NOTES
|
||||||
%{_mandir}/man1/iperf3.1.gz
|
%{_mandir}/man1/iperf3.1.gz
|
||||||
%{_mandir}/man3/libiperf.3.gz
|
%{_mandir}/man3/libiperf.3.gz
|
||||||
%{_bindir}/iperf3
|
%{_bindir}/iperf3
|
||||||
|
Loading…
Reference in New Issue
Block a user