From 1cd7c0b72013b00b3be5ee1b5391ed13b2fb3f0d Mon Sep 17 00:00:00 2001 From: eaglegai Date: Fri, 19 Jun 2020 11:00:19 +0800 Subject: [PATCH] adapt to python new verion --- net-snmp.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/net-snmp.spec b/net-snmp.spec index 9863812..c6977c1 100644 --- a/net-snmp.spec +++ b/net-snmp.spec @@ -3,7 +3,7 @@ Name: net-snmp Version: 5.8 -Release: 7 +Release: 9 Epoch: 1 Summary: SNMP Daemon License: BSD @@ -286,7 +286,7 @@ LD_LIBRARY_PATH=%{buildroot}/%{_libdir} make test %files -n python3-net-snmp %doc README -%{_libdir}/python3.7/site-packages/* +%{_libdir}/python%{python3_version}/site-packages/* %files help %doc ChangeLog.trimmed EXAMPLE.conf FAQ NEWS TODO README.snmpv3 @@ -315,6 +315,12 @@ LD_LIBRARY_PATH=%{buildroot}/%{_libdir} make test %{_mandir}/man1/fixproc* %changelog +* Fri Jun 19 2020 gaihuiying - 5.8-9 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC: adapt to python new verion + * Thu Mar 12 2020 Buildteam - 5.8-8 - Type:bugfix - ID:NA -- Gitee