!22 [sync] PR-20: change the permission on passtest file to 755

From: @openeuler-sync-bot
Reviewed-by: @zengwefeng
Signed-off-by: @zengwefeng
This commit is contained in:
openeuler-ci-bot 2021-05-21 11:59:33 +08:00 committed by Gitee
commit 07aca7cd57

View File

@ -3,7 +3,7 @@
Name: net-snmp
Version: 5.9
Release: 2
Release: 3
Epoch: 1
Summary: SNMP Daemon
License: BSD
@ -203,7 +203,8 @@ for file in README COPYING; do
iconv -f 8859_1 -t UTF-8 <$file >$file.utf8
mv $file.utf8 $file
done
chmod 644 local/passtest local/ipf-mod.pl
chmod 644 local/ipf-mod.pl
chmod 755 local/passtest
mkdir -p %{buildroot}/%{_tmpfilesdir}
install -m 644 %SOURCE7 %{buildroot}/%{_tmpfilesdir}/net-snmp.conf
@ -324,6 +325,12 @@ LD_LIBRARY_PATH=%{buildroot}/%{_libdir} make test
%{_mandir}/man1/fixproc*
%changelog
* Wed Dec 09 2020 xihaochen <xihaochen@huawei.com> - 5.9-3
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC: change the permission on passtest file to 755
* Mon Nov 09 2020 xihaochen <xihaochen@huawei.com> - 5.9-2
- Type:requriement
- CVE:NA