]> git.pld-linux.org Git - packages/gdm.git/commitdiff
- systemd deps and scripts in package that uses them auto/th/gdm-3_4_1-2
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 17 Apr 2012 17:18:33 +0000 (17:18 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gdm.spec -> 1.302

gdm.spec

index 6b2ac6a1f69ca9c01b41039052b1ca29f81c0e73..bcf3e07f83541e426e44bec5bb19cb4b9e871d7a 100644 (file)
--- a/gdm.spec
+++ b/gdm.spec
@@ -83,7 +83,6 @@ Requires(pre):        /bin/id
 Requires(pre): /usr/sbin/groupadd
 Requires(pre): /usr/sbin/useradd
 Requires(posttrans):   dconf
-Requires(post,preun,postun):   systemd-units >= 38
 Requires:      %{name}-libs = %{epoch}:%{version}-%{release}
 Requires:      /usr/bin/X
 Requires:      accountsservice >= 0.6.12
@@ -94,7 +93,6 @@ Requires:     gnome-settings-daemon >= 3.0.0
 Requires:      hicolor-icon-theme
 Requires:      pam >= 0.99.7.1
 Requires:      polkit-gnome >= 0.93
-Requires:      systemd-units >= 38
 Requires:      which
 Requires:      xinitrc-ng >= 1.0
 Requires:      xorg-app-sessreg
@@ -190,9 +188,11 @@ Summary:   Init script for GDM
 Summary(pl.UTF-8):     Skrypt init dla GDM-a
 Group:         X11/Applications
 Requires(post,preun):  /sbin/chkconfig
+Requires(post,preun,postun):   systemd-units >= 38
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 Requires:      open
 Requires:      rc-scripts >= 0.4.3.0
+Requires:      systemd-units >= 38
 
 %description init
 Init script for GDM.
@@ -292,12 +292,9 @@ umask 022
 %post
 %glib_compile_schemas
 %update_icon_cache hicolor
-%systemd_reload
 
 %postun
 %update_icon_cache hicolor
-%systemd_reload
-
 if [ "$1" = "0" ]; then
        %glib_compile_schemas
        %userremove xdm
@@ -313,6 +310,10 @@ fi
 /sbin/chkconfig --add gdm
 # -n skips restarting as it would otherise terminate all sessions opened from gdm!
 %service -n gdm restart
+%systemd_reload
+
+%postun init
+%systemd_reload
 
 %preun init
 if [ "$1" = "0" ]; then
This page took 0.036626 seconds and 4 git commands to generate.