Accepting request 235214 from home:jsegitz:branches:X11:XOrg

- added necessary macros for systemd files

OBS-URL: https://build.opensuse.org/request/show/235214
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xdm?expand=0&rev=75
This commit is contained in:
Stefan Dirsch 2014-05-23 14:11:09 +00:00 committed by Git OBS Bridge
parent 6e3a4eca67
commit 904704d742
2 changed files with 15 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri May 23 13:01:21 UTC 2014 - jsegitz@novell.com
- added necessary macros for systemd files
------------------------------------------------------------------- -------------------------------------------------------------------
Thu May 15 11:01:55 UTC 2014 - arichardson.kde@gmail.com Thu May 15 11:01:55 UTC 2014 - arichardson.kde@gmail.com

View File

@ -170,6 +170,11 @@ chmod 0755 %{buildroot}%{_sbindir}/rcxdm
%endif %endif
%{fillup_only -n displaymanager} %{fillup_only -n displaymanager}
%pre
%if !0%{?suse_version} < 1320
%service_add_pre display-manager.service
%endif
%postun %postun
%if 0%{?suse_version} < 1320 %if 0%{?suse_version} < 1320
%{insserv_cleanup} %{insserv_cleanup}
@ -177,6 +182,11 @@ chmod 0755 %{buildroot}%{_sbindir}/rcxdm
%service_del_postun display-manager.service %service_del_postun display-manager.service
%endif %endif
%preun
%if !0%{?suse_version} < 1320
%service_del_preun display-manager.service
%endif
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING README %doc AUTHORS ChangeLog COPYING README