!2 Solve the problem of service cannot restart when upgrading
Merge pull request !2 from chengquan/developer
This commit is contained in:
commit
034438082e
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: timedatex
|
Name: timedatex
|
||||||
Version: 0.5
|
Version: 0.5
|
||||||
Release: 8
|
Release: 9
|
||||||
Summary: D-Bus service for system clock and RTC settings
|
Summary: D-Bus service for system clock and RTC settings
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: https://github.com/mlichvar/timedatex
|
URL: https://github.com/mlichvar/timedatex
|
||||||
@ -37,7 +37,7 @@ help document for timedatex.
|
|||||||
%makeinstall unitdir=$RPM_BUILD_ROOT%{_unitdir}
|
%makeinstall unitdir=$RPM_BUILD_ROOT%{_unitdir}
|
||||||
|
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/systemd/system
|
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
|
%check
|
||||||
make test
|
make test
|
||||||
@ -56,7 +56,7 @@ make test
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc COPYING NEWS README
|
%doc COPYING NEWS README
|
||||||
%{_sysconfdir}/systemd/system/timedatex.service
|
%{_sysconfdir}/systemd/system/systemd-timedated.service
|
||||||
%{_sbindir}/%{name}
|
%{_sbindir}/%{name}
|
||||||
%{_unitdir}/%{name}.service
|
%{_unitdir}/%{name}.service
|
||||||
|
|
||||||
@ -65,6 +65,12 @@ make test
|
|||||||
%{_mandir}/man8/%{name}.8*
|
%{_mandir}/man8/%{name}.8*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Mar 11 2020 openEuler Buildteam <buildteam@openeuler.org> - 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 <buildteam@openeuler.org> - 0.5.8
|
* Wed Jan 22 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.5.8
|
||||||
- Type: enhancement
|
- Type: enhancement
|
||||||
- ID: NA
|
- ID: NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user