delete %postun systemd-timedated.service operation

This commit is contained in:
chengquan 2020-03-16 15:04:07 +08:00 committed by Gitee
parent d5c7a0413a
commit 30d9b24054

View File

@ -2,7 +2,7 @@
Name: timedatex Name: timedatex
Version: 0.5 Version: 0.5
Release: 9 Release: 10
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/systemd-timedated.service ln -s /dev/null $RPM_BUILD_ROOT%{_sysconfdir}/systemd/system/timedatex.service
%check %check
make test make test
@ -51,12 +51,11 @@ make test
%systemd_post %{name}.service %systemd_post %{name}.service
%postun %postun
%systemd_postun_with_restart %{name}.service
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc COPYING NEWS README %doc COPYING NEWS README
%{_sysconfdir}/systemd/system/systemd-timedated.service %{_sysconfdir}/systemd/system/timedatex.service
%{_sbindir}/%{name} %{_sbindir}/%{name}
%{_unitdir}/%{name}.service %{_unitdir}/%{name}.service
@ -65,6 +64,12 @@ make test
%{_mandir}/man8/%{name}.8* %{_mandir}/man8/%{name}.8*
%changelog %changelog
* Mon Mar 16 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.5.10
- Type: enhancement
- ID: NA
- SUG: NA
- DESC:delete %postun systemd-timedated.service operation
* Wed Mar 11 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.5.9 * Wed Mar 11 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.5.9
- Type: enhancement - Type: enhancement
- ID: NA - ID: NA