Moved static library to devel section only .

This commit is contained in:
Susant Sahani 2014-04-02 13:00:37 +05:30
parent 0ab38aa4fd
commit b140845a42

View File

@ -1,6 +1,6 @@
Name: iperf3
Version: 3.0.3
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Measurement tool for TCP/UDP bandwidth performance
Group: Applications/Internet
@ -18,7 +18,6 @@ jitter, data-gram loss.
%package devel
Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
@ -35,7 +34,6 @@ make %{?_smp_mflags}
rm -rf $RPM_BUILD_ROOT
%makeinstall -C src INSTALL_DIR="%{buildroot}%{_bindir}"
mkdir -p %{buildroot}%{_mandir}/man1
rm %{buildroot}%{_libdir}/libiperf.a
%clean
rm -rf $RPM_BUILD_ROOT
@ -46,17 +44,20 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man1/iperf3.1.gz
%{_mandir}/man3/libiperf.3.gz
%{_bindir}/iperf3
%{_libdir}/libiperf.la
%{_libdir}/libiperf.so
%{_libdir}/libiperf.so.0
%{_libdir}/libiperf.so.0.0.0
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root,-)
%{_includedir}/*
%{_includedir}/iperf_api.h
%{_libdir}/libiperf.a
%{_libdir}/libiperf.la
%{_libdir}/*.so
%{_libdir}/*.so.*
%changelog
* Wed Apr 2 2014 Susant Sahani <ssahani@redhat.com> 3.0.3-2
- Moved static library to devel section only .
* Sun Mar 30 2014 Susant Sahani <ssahani@redhat.com> 3.0.3-1
- Update to 3.0.3 and added devel rpm support