From c333bee730d2c241a83aa6e11e886fca64dbe52e Mon Sep 17 00:00:00 2001 From: jianli-97 Date: Wed, 22 Mar 2023 10:14:01 +0800 Subject: [PATCH] Delete git-core dir in %files git-bin-files --- git.spec | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/git.spec b/git.spec index c6414b0..c025bea 100644 --- a/git.spec +++ b/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 - 2.39.1-4 +- Delete git-core dir in %files git-bin-files + * Wed Feb 15 2023 fuanan - 2.39.1-3 - Type:CVE - ID:CVE-2023-22490 CVE-2023-23946 -- Gitee