From d5c7a0413a655a70c6f13822fa76159d0e781351 Mon Sep 17 00:00:00 2001 From: chengquan Date: Wed, 11 Mar 2020 11:01:14 +0800 Subject: [PATCH] Solve the problem of service cannot restart when upgrading --- timedatex.spec | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/timedatex.spec b/timedatex.spec index 044571d..a48287a 100644 --- a/timedatex.spec +++ b/timedatex.spec @@ -2,7 +2,7 @@ Name: timedatex Version: 0.5 -Release: 8 +Release: 9 Summary: D-Bus service for system clock and RTC settings License: GPLv2+ URL: https://github.com/mlichvar/timedatex @@ -37,7 +37,7 @@ help document for timedatex. %makeinstall unitdir=$RPM_BUILD_ROOT%{_unitdir} mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/systemd/system -ln -s /dev/null $RPM_BUILD_ROOT%{_sysconfdir}/systemd/system/timedatex.service +ln -s /dev/null $RPM_BUILD_ROOT%{_sysconfdir}/systemd/system/systemd-timedated.service %check make test @@ -56,7 +56,7 @@ make test %files %defattr(-,root,root) %doc COPYING NEWS README -%{_sysconfdir}/systemd/system/timedatex.service +%{_sysconfdir}/systemd/system/systemd-timedated.service %{_sbindir}/%{name} %{_unitdir}/%{name}.service @@ -65,6 +65,12 @@ make test %{_mandir}/man8/%{name}.8* %changelog +* Wed Mar 11 2020 openEuler Buildteam - 0.5.9 +- Type: enhancement +- ID: NA +- SUG: NA +- DESC:Solve the problem of service cannot restart when upgrading + * Wed Jan 22 2020 openEuler Buildteam - 0.5.8 - Type: enhancement - ID: NA -- Gitee