diff --git a/systemd-mini.spec b/systemd-mini.spec index a3e4988..7af41c6 100644 --- a/systemd-mini.spec +++ b/systemd-mini.spec @@ -1165,7 +1165,11 @@ cp %{SOURCE7} m4/ %patch1036 -p1 %patch1037 -p1 %patch1038 -p0 +%if 0%{?suse_version} > 1310 +%if %{with udevsettle} %patch1039 -p0 +%endif +%endif # ensure generate files are removed rm -f units/emergency.service diff --git a/systemd.spec b/systemd.spec index e10ce7c..1f56d7b 100644 --- a/systemd.spec +++ b/systemd.spec @@ -1160,7 +1160,11 @@ cp %{SOURCE7} m4/ %patch1036 -p1 %patch1037 -p1 %patch1038 -p0 +%if 0%{?suse_version} > 1310 +%if %{with udevsettle} %patch1039 -p0 +%endif +%endif # ensure generate files are removed rm -f units/emergency.service