diff --git a/xfce4-session.spec b/xfce4-session.spec
index 66e3650..520e881 100644
--- a/xfce4-session.spec
+++ b/xfce4-session.spec
@@ -2,7 +2,7 @@
 
 Name:           xfce4-session
 Version:        4.10.1
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Xfce session manager
 
 Group:          User Interface/Desktops
@@ -73,8 +73,9 @@ Additional splash screen engines for the Xfce Session Manager.
 
 %build
 %configure \
-%if 0%{?rhel} > 6 || 0%{?fedora} > 18
+%if 0%{?rhel} > 6 || 0%{?fedora} >= 18
     --enable-systemd \
+    --disable-legacy-sm \
 %else
     --disable-systemd \
 %endif


