Fix soname usage

This commit is contained in:
Josef Ridky 2018-07-25 09:24:36 +02:00
parent cc67225c40
commit d64ff7d777

View File

@ -460,7 +460,7 @@ LD_LIBRARY_PATH=%{buildroot}/%{_libdir} make test
%files libs %files libs
%doc COPYING README ChangeLog.trimmed FAQ NEWS TODO %doc COPYING README ChangeLog.trimmed FAQ NEWS TODO
%doc IETF-MIB-LICENSE.txt %doc IETF-MIB-LICENSE.txt
%{_libdir}/libnetsnmp.so.%{soname} %{_libdir}/libnetsnmp.so.%{soname}*
%dir %{_datadir}/snmp %dir %{_datadir}/snmp
%dir %{_datadir}/snmp/mibs %dir %{_datadir}/snmp/mibs
%{_datadir}/snmp/mibs/* %{_datadir}/snmp/mibs/*
@ -469,10 +469,10 @@ LD_LIBRARY_PATH=%{buildroot}/%{_libdir} make test
%dir %{_localstatedir}/lib/net-snmp/cert_indexes %dir %{_localstatedir}/lib/net-snmp/cert_indexes
%files agent-libs %files agent-libs
%{_libdir}/libnetsnmpagent*.so.%{soname} %{_libdir}/libnetsnmpagent*.so.%{soname}*
%{_libdir}/libnetsnmphelpers*.so.%{soname} %{_libdir}/libnetsnmphelpers*.so.%{soname}*
%{_libdir}/libnetsnmpmibs*.so.%{soname} %{_libdir}/libnetsnmpmibs*.so.%{soname}*
%{_libdir}/libnetsnmptrapd*.so.%{soname} %{_libdir}/libnetsnmptrapd*.so.%{soname}*
%changelog %changelog
* Mon Jul 23 2018 Josef Ridky <jridky@redhat.com> - 1:5.8-2 * Mon Jul 23 2018 Josef Ridky <jridky@redhat.com> - 1:5.8-2