Rename git.service into git@.service and bump release
This commit is contained in:
parent
091d952b4e
commit
906d8479f7
@ -1,9 +0,0 @@
|
||||
[Unit]
|
||||
Description=Git Repositories Server Daemon
|
||||
Documentation=man:git-daemon(1)
|
||||
Wants=git.socket
|
||||
|
||||
[Service]
|
||||
User=nobody
|
||||
ExecStart=/usr/libexec/git-core/git-daemon --base-path=/var/lib/git --export-all --user-path=public_git --syslog --inetd --verbose
|
||||
StandardInput=socket
|
16
git.spec
16
git.spec
@ -44,7 +44,7 @@
|
||||
|
||||
Name: git
|
||||
Version: 2.1.0
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
Summary: Fast Version Control System
|
||||
License: GPLv2
|
||||
Group: Development/Tools
|
||||
@ -57,7 +57,7 @@ Source5: git-gui.desktop
|
||||
Source6: gitweb.conf.in
|
||||
Source10: http://www.kernel.org/pub/software/scm/git/%{name}-manpages-%{version}.tar.gz
|
||||
Source11: http://www.kernel.org/pub/software/scm/git/%{name}-htmldocs-%{version}.tar.gz
|
||||
Source12: git.service
|
||||
Source12: git@.service
|
||||
Source13: git.socket
|
||||
Patch0: git-1.8-gitweb-home-link.patch
|
||||
# https://bugzilla.redhat.com/490602
|
||||
@ -522,13 +522,13 @@ rm -rf %{buildroot}
|
||||
|
||||
%if %{use_systemd}
|
||||
%post daemon
|
||||
%systemd_post git.service
|
||||
%systemd_post git@.service
|
||||
|
||||
%preun daemon
|
||||
%systemd_preun git.service
|
||||
%systemd_preun git@.service
|
||||
|
||||
%postun daemon
|
||||
%systemd_postun_with_restart git.service
|
||||
%systemd_postun_with_restart git@.service
|
||||
%endif
|
||||
|
||||
%files -f bin-man-doc-files
|
||||
@ -621,7 +621,7 @@ rm -rf %{buildroot}
|
||||
%doc Documentation/*daemon*.txt
|
||||
%if %{use_systemd}
|
||||
%{_unitdir}/git.socket
|
||||
%{_unitdir}/git.service
|
||||
%{_unitdir}/git@.service
|
||||
%else
|
||||
%config(noreplace)%{_sysconfdir}/xinetd.d/git
|
||||
%endif
|
||||
@ -642,6 +642,10 @@ rm -rf %{buildroot}
|
||||
# No files for you!
|
||||
|
||||
%changelog
|
||||
* Fri Oct 24 2014 Pierre-Yves Chibon <pingou@pingoured.fr> - 2.1.0-5
|
||||
- Rename the git.service into git@.service fixing
|
||||
https://bugzilla.redhat.com/980574
|
||||
|
||||
* Mon Sep 08 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.1.0-4
|
||||
- Perl 5.20 re-rebuild of bootstrapped packages
|
||||
|
||||
|
8
git@.service
Normal file
8
git@.service
Normal file
@ -0,0 +1,8 @@
|
||||
[Unit]
|
||||
Description=Git Repositories Server Daemon
|
||||
Documentation=man:git-daemon(1)
|
||||
|
||||
[Service]
|
||||
User=nobody
|
||||
ExecStart=-/usr/libexec/git-core/git-daemon --base-path=/var/lib/git --export-all --user-path=public_git --syslog --inetd --verbose
|
||||
StandardInput=socket
|
Loading…
Reference in New Issue
Block a user