adapt to python new verion

This commit is contained in:
eaglegai 2020-06-19 11:00:19 +08:00
parent eb0f15e19a
commit 1cd7c0b720

View File

@ -3,7 +3,7 @@
Name: net-snmp Name: net-snmp
Version: 5.8 Version: 5.8
Release: 7 Release: 9
Epoch: 1 Epoch: 1
Summary: SNMP Daemon Summary: SNMP Daemon
License: BSD License: BSD
@ -286,7 +286,7 @@ LD_LIBRARY_PATH=%{buildroot}/%{_libdir} make test
%files -n python3-net-snmp %files -n python3-net-snmp
%doc README %doc README
%{_libdir}/python3.7/site-packages/* %{_libdir}/python%{python3_version}/site-packages/*
%files help %files help
%doc ChangeLog.trimmed EXAMPLE.conf FAQ NEWS TODO README.snmpv3 %doc ChangeLog.trimmed EXAMPLE.conf FAQ NEWS TODO README.snmpv3
@ -315,6 +315,12 @@ LD_LIBRARY_PATH=%{buildroot}/%{_libdir} make test
%{_mandir}/man1/fixproc* %{_mandir}/man1/fixproc*
%changelog %changelog
* Fri Jun 19 2020 gaihuiying <gaihuiying1@huawei.com> - 5.8-9
- Type:bugfix
- ID:NA
- SUG:NA
- DESC: adapt to python new verion
* Thu Mar 12 2020 Buildteam <buildteam@openeuler.org> - 5.8-8 * Thu Mar 12 2020 Buildteam <buildteam@openeuler.org> - 5.8-8
- Type:bugfix - Type:bugfix
- ID:NA - ID:NA