Restrict the doc permission in rsync to 644.
This commit is contained in:
parent
2a01406b91
commit
8fb3563aaa
11
rsync.spec
11
rsync.spec
@ -1,6 +1,6 @@
|
|||||||
Name: rsync
|
Name: rsync
|
||||||
Version: 3.2.7
|
Version: 3.2.7
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Fast incremental file transfer utility
|
Summary: Fast incremental file transfer utility
|
||||||
License: GPL-3.0-or-later
|
License: GPL-3.0-or-later
|
||||||
URL: http://rsync.samba.org/
|
URL: http://rsync.samba.org/
|
||||||
@ -43,7 +43,6 @@ at one of the ends of the link beforehand.
|
|||||||
|
|
||||||
%check
|
%check
|
||||||
make check
|
make check
|
||||||
chmod -x support/*
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
@ -68,7 +67,7 @@ install -D -m644 %{SOURCE5} %{buildroot}/%{_unitdir}/rsyncd@.service
|
|||||||
%files -n rsync
|
%files -n rsync
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc tech_report.tex
|
%doc tech_report.tex
|
||||||
%doc support/*
|
%attr(0644,root,root) %doc support/*
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%config(noreplace) %{_sysconfdir}/*.conf
|
%config(noreplace) %{_sysconfdir}/*.conf
|
||||||
%config(noreplace) %{_sysconfdir}/sysconfig/rsyncd
|
%config(noreplace) %{_sysconfdir}/sysconfig/rsyncd
|
||||||
@ -82,6 +81,12 @@ install -D -m644 %{SOURCE5} %{buildroot}/%{_unitdir}/rsyncd@.service
|
|||||||
%{_mandir}/man5/rsyncd.conf.5*
|
%{_mandir}/man5/rsyncd.conf.5*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jun 15 2023 zhoupengcheng <zhoupengcheng11@huawei.com> - 3.2.7-2
|
||||||
|
- Type:bugfix
|
||||||
|
- CVE:
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:Restrict the doc permission in rsync to 644.
|
||||||
|
|
||||||
* Tue Jan 31 2023 wangjunqi <wangjunqi@kylinos.cn> - 3.2.7-1
|
* Tue Jan 31 2023 wangjunqi <wangjunqi@kylinos.cn> - 3.2.7-1
|
||||||
- update version to 3.2.7
|
- update version to 3.2.7
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user