Delete git-core dir in %files git-bin-files
This commit is contained in:
parent
be15677a05
commit
c333bee730
14
git.spec
14
git.spec
@ -1,7 +1,7 @@
|
|||||||
%global gitexecdir %{_libexecdir}/git-core
|
%global gitexecdir %{_libexecdir}/git-core
|
||||||
Name: git
|
Name: git
|
||||||
Version: 2.39.1
|
Version: 2.39.1
|
||||||
Release: 3
|
Release: 4
|
||||||
Summary: A popular and widely used Version Control System
|
Summary: A popular and widely used Version Control System
|
||||||
License: GPLv2+ or LGPLv2.1
|
License: GPLv2+ or LGPLv2.1
|
||||||
URL: https://git-scm.com/
|
URL: https://git-scm.com/
|
||||||
@ -237,18 +237,15 @@ make %{?_smp_mflags} test
|
|||||||
|
|
||||||
%files -f git-bin-files
|
%files -f git-bin-files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_datadir}/git-core/
|
%{_datadir}/git-core/templates/hooks/fsmonitor-watchman.sample
|
||||||
%{_datadir}/bash-completion/completions
|
%{_datadir}/git-core/templates/hooks/pre-rebase.sample
|
||||||
|
%{_datadir}/git-core/templates/hooks/prepare-commit-msg.sample
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%license LGPL-2.1 COPYING
|
%license LGPL-2.1 COPYING
|
||||||
|
|
||||||
%files core -f bin-files-core
|
%files core -f bin-files-core
|
||||||
%license LGPL-2.1 COPYING
|
%license LGPL-2.1 COPYING
|
||||||
# exclude is best way here because of troubles with symlinks inside git-core/
|
# 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/fsmonitor-watchman.sample
|
||||||
%exclude %{_datadir}/git-core/templates/hooks/pre-rebase.sample
|
%exclude %{_datadir}/git-core/templates/hooks/pre-rebase.sample
|
||||||
%exclude %{_datadir}/git-core/templates/hooks/prepare-commit-msg.sample
|
%exclude %{_datadir}/git-core/templates/hooks/prepare-commit-msg.sample
|
||||||
@ -303,6 +300,9 @@ make %{?_smp_mflags} test
|
|||||||
%{_mandir}/man7/git*.7.*
|
%{_mandir}/man7/git*.7.*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Feb 15 2023 fuanan <fuanan3@h-partners.com> - 2.39.1-3
|
||||||
- Type:CVE
|
- Type:CVE
|
||||||
- ID:CVE-2023-22490 CVE-2023-23946
|
- ID:CVE-2023-22490 CVE-2023-23946
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user