From c0e6554a3508b0b735b4d76684c083e800af53a2 Mon Sep 17 00:00:00 2001 From: Funda Wang Date: Mon, 20 Jan 2025 02:20:34 +0800 Subject: [PATCH] fix file list --- net-snmp.spec | 60 +++++++++++++++++++++++---------------------------- 1 file changed, 27 insertions(+), 33 deletions(-) diff --git a/net-snmp.spec b/net-snmp.spec index c4d83af..97e4ac8 100644 --- a/net-snmp.spec +++ b/net-snmp.spec @@ -3,11 +3,11 @@ Name: net-snmp Version: 5.9.3 -Release: 5 +Release: 6 Epoch: 1 Summary: SNMP Daemon -License: BSD -URL: http://net-snmp.sourceforge.net/ +License: MIT-CMU AND BSD-3-Clause AND MIT +URL: https://net-snmp.sourceforge.net/ Source0: https://sourceforge.net/projects/net-snmp/files/net-snmp/%{version}/net-snmp-%{version}.tar.gz Source1: net-snmp.conf Source2: net-snmp-config.h @@ -233,9 +233,6 @@ chmod 644 local/passtest %postun %systemd_postun_with_restart snmpd.service snmptrapd.service -%ldconfig_scriptlets -%ldconfig_scriptlets libs - %files %license COPYING %config(noreplace) %{_sysconfdir}/sysconfig/snmpd @@ -243,8 +240,8 @@ chmod 644 local/passtest %config(noreplace) %attr(0600,root,root) %{_sysconfdir}/snmp/snmpd.conf %config(noreplace) %attr(0600,root,root) %{_sysconfdir}/snmp/snmptrapd.conf %{_bindir}/agentxtrap -%{_prefix}/lib/systemd/system/*.service -%{_prefix}/lib/tmpfiles.d/net-snmp.conf +%{_unitdir}/*.service +%{_tmpfilesdir}/net-snmp.conf %{_sbindir}/snmp* %dir %{_datadir}/snmp %{_datadir}/snmp/snmpconf-data/* @@ -257,13 +254,13 @@ chmod 644 local/passtest %{_libdir}/libnetsnmphelpers.so.* %{_libdir}/libnetsnmpmibs.so.* %{_libdir}/libnetsnmptrapd.so.* -%exclude %{_prefix}/lib/debug/usr/sbin/snmptrapd-5.8-1.oe1.aarch64.debug %exclude %{_bindir}/ipf-mod.pl %exclude %{_bindir}/fixproc %exclude %{_bindir}/snmpcheck %exclude %{_libdir}/libsnmp* %files libs +%license COPYING %{_libdir}/libnetsnmp.so.* %dir %{_datadir}/snmp %{_datadir}/snmp/mibs/* @@ -284,19 +281,14 @@ chmod 644 local/passtest %{_bindir}/checkbandwidth %{_bindir}/snmp-bridge-mib %{_bindir}/traptoemail -%{_libdir}/perl5/vendor_perl/auto/*SNMP/* -%dir %{_libdir}/perl5/vendor_perl/auto/Bundle/NetSNMP -%{_libdir}/perl5/vendor_perl/Bundle/MakefileSubs.pm -%{_libdir}/perl5/vendor_perl/NetSNMP/*.pm -%{_libdir}/perl5/vendor_perl/NetSNMP/agent/*.pm -%{_libdir}/perl5/vendor_perl/SNMP.pm +%{perl_vendorarch}/* %{_datadir}/snmp/mib2c-data/* %{_datadir}/snmp/mib2c*.conf %{_datadir}/snmp/snmp_perl* %files gui %{_bindir}/tkmib -%attr(0644,root,root) %{_mandir}/man1/tkmib.1.gz +%attr(0644,root,root) %{_mandir}/man1/tkmib.1* %files -n python3-net-snmp %doc README @@ -309,26 +301,28 @@ chmod 644 local/passtest %doc README.thread AGENT.txt PORTING local/README.mib2c %doc README.aix README.hpux11 README.osX README.Panasonic_AM3X.txt README.solaris README.win32 %attr(0644,root,root) -%{_mandir}/man1/agentxtrap.1.gz -%{_mandir}/man1/net-snmp-create-v3-user.1.gz -%{_mandir}/man1/snmpconf.1.gz -%{_mandir}/man5/snmp*.5.gz -%{_mandir}/man5/variables.5.gz -%{_mandir}/man8/snmp*.8.gz -%{_mandir}/man1/snmp*.1.gz -%{_mandir}/man1/encode_keychange.1.gz -%{_mandir}/man5/variables.5.gz -%{_mandir}/man5/snmp.conf.5.gz -%{_mandir}/man1/net-snmp-config.1.gz -%{_mandir}/man3/*.3.gz -%{_mandir}/man1/mib2c*.1.gz -%{_mandir}/man1/snmp-bridge-mib.1.gz -%{_mandir}/man1/traptoemail.1.gz -%{_mandir}/man3/NetSNMP*.3pm.gz -%{_mandir}/man5/mib2c.conf.5.gz +%{_mandir}/man1/agentxtrap.1* +%{_mandir}/man1/net-snmp-create-v3-user.1* +%{_mandir}/man5/snmp*.5* +%{_mandir}/man5/variables.5* +%{_mandir}/man8/snmp*.8* +%{_mandir}/man1/snmp*.1* +%{_mandir}/man1/encode_keychange.1* +%{_mandir}/man1/net-snmp-config.1* +%{_mandir}/man3/*.3* +%{_mandir}/man1/mib2c*.1* +%{_mandir}/man1/traptoemail.1* +%{_mandir}/man3/NetSNMP*.3pm* +%{_mandir}/man5/mib2c.conf.5* %{_mandir}/man1/fixproc* %changelog +* Mon Jan 20 2025 Funda Wang - 1:5.9.3-6 +- Type:bugfix +- CVE:NA +- SUG:NA +- DESC: fix file list + * Tue Oct 29 2024 xingwei - 1:5.9.3-5 - Type:bugfix - CVE:NA -- Gitee