diff --git a/plymouth.spec b/plymouth.spec
index 8391a74..4696ecb 100644
--- a/plymouth.spec
+++ b/plymouth.spec
@@ -363,7 +363,7 @@ make %{?_smp_mflags}
 rm -f %{buildroot}/%{_bindir}/rhgb-client
 rm -f %{buildroot}%{_prefix}/lib/plymouth/plymouth-generate-initrd
 rm -f %{buildroot}%{_prefix}/lib/plymouth/plymouth-populate-initrd
-%if ! with_systemd
+%if with_systemd == 0
 rm -f %{buildroot}/lib/systemd
 %endif