!109 修改spec,在%files -f git-bin-files中删除git-core目录
From: @jianli-97 Reviewed-by: @openeuler-basic Signed-off-by: @openeuler-basic
This commit is contained in:
commit
da474d370b
16
git.spec
16
git.spec
@ -1,7 +1,7 @@
|
||||
%global gitexecdir %{_libexecdir}/git-core
|
||||
Name: git
|
||||
Version: 2.39.1
|
||||
Release: 3
|
||||
Release: 4
|
||||
Summary: A popular and widely used Version Control System
|
||||
License: GPLv2+ or LGPLv2.1
|
||||
URL: https://git-scm.com/
|
||||
@ -235,20 +235,17 @@ make %{?_smp_mflags} test
|
||||
%postun daemon
|
||||
%systemd_postun_with_restart git.socket
|
||||
|
||||
%files -f git-bin-files
|
||||
%files -f git-bin-files
|
||||
%defattr(-,root,root)
|
||||
%{_datadir}/git-core/
|
||||
%{_datadir}/bash-completion/completions
|
||||
%{_datadir}/git-core/templates/hooks/fsmonitor-watchman.sample
|
||||
%{_datadir}/git-core/templates/hooks/pre-rebase.sample
|
||||
%{_datadir}/git-core/templates/hooks/prepare-commit-msg.sample
|
||||
%doc README.md
|
||||
%license LGPL-2.1 COPYING
|
||||
|
||||
%files core -f bin-files-core
|
||||
%license LGPL-2.1 COPYING
|
||||
# exclude is best way here because of troubles with symlinks inside git-core/
|
||||
%exclude %{_datadir}/git-core/contrib/diff-highlight
|
||||
%exclude %{_datadir}/git-core/contrib/hooks/multimail
|
||||
%exclude %{_datadir}/git-core/contrib/hooks/update-paranoid
|
||||
%exclude %{_datadir}/git-core/contrib/hooks/setgitperms.perl
|
||||
%exclude %{_datadir}/git-core/templates/hooks/fsmonitor-watchman.sample
|
||||
%exclude %{_datadir}/git-core/templates/hooks/pre-rebase.sample
|
||||
%exclude %{_datadir}/git-core/templates/hooks/prepare-commit-msg.sample
|
||||
@ -303,6 +300,9 @@ make %{?_smp_mflags} test
|
||||
%{_mandir}/man7/git*.7.*
|
||||
|
||||
%changelog
|
||||
* Wed Mar 22 2023 lijian <lijian2@kylinos.cn> - 2.39.1-4
|
||||
- Delete git-core dir in %files git-bin-files
|
||||
|
||||
* Wed Feb 15 2023 fuanan <fuanan3@h-partners.com> - 2.39.1-3
|
||||
- Type:CVE
|
||||
- ID:CVE-2023-22490 CVE-2023-23946
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user