Resolved the problem that a failure message is displayed when the git-daemon package is uninstalled
This commit is contained in:
parent
236442372f
commit
f2f45f0f26
14
git.spec
14
git.spec
@ -1,7 +1,7 @@
|
||||
%global gitexecdir %{_libexecdir}/git-core
|
||||
Name: git
|
||||
Version: 2.27.0
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: A popular and widely used Version Control System
|
||||
License: GPLv2+ or LGPLv2.1
|
||||
URL: https://git-scm.com/
|
||||
@ -197,13 +197,13 @@ sed -i "/Git\/SVN/ d" perl-git-files
|
||||
make test
|
||||
|
||||
%preun daemon
|
||||
%systemd_preun git@.service
|
||||
%systemd_preun git.socket
|
||||
|
||||
%post daemon
|
||||
%systemd_post git@.service
|
||||
%systemd_post git.socket
|
||||
|
||||
%postun daemon
|
||||
%systemd_postun_with_restart git@.service
|
||||
%systemd_postun_with_restart git.socket
|
||||
|
||||
%files -f git-bin-files
|
||||
%defattr(-,root,root)
|
||||
@ -259,6 +259,12 @@ make test
|
||||
%{_mandir}/man7/git*.7.*
|
||||
|
||||
%changelog
|
||||
* Fri Sep 25 2020 yang_zhuang_zhuang <yangzhuangzhuang1@huawei.com> - 2.27.0-2
|
||||
- Type:bugfix
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
- DESC:Resolved the problem that a failure message is displayed when the git-daemon package is uninstalled
|
||||
|
||||
* Tue Jul 28 2020 yang_zhuang_zhuang <yangzhuangzhuang1@huawei.com> - 2.27.0-1
|
||||
- Type:enhancement
|
||||
- ID:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user