From c29b838222b65d8a3a15f30275984e95f8bedbdd061ce217ad71ac891d12eb42 Mon Sep 17 00:00:00 2001 From: Daniel Molkentin Date: Sat, 10 Aug 2019 17:43:44 +0000 Subject: [PATCH] Fix version conditions OBS-URL: https://build.opensuse.org/package/show/security:dehydrated/dehydrated?expand=0&rev=44 --- dehydrated.changes | 2 +- dehydrated.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dehydrated.changes b/dehydrated.changes index 11f1cd4..7d51293 100644 --- a/dehydrated.changes +++ b/dehydrated.changes @@ -2,7 +2,7 @@ Sat Aug 10 17:18:25 UTC 2019 - Daniel Molkentin - Behavioral change: Use cron only for older RHEL/CentOS versions - (along with openSUSE < 12.3). Everything else now uses systemd. + (along with SLE < 12.0). Everything else now uses systemd. Please adopt accordingly! Refer to README.md for ------------------------------------------------------------------- diff --git a/dehydrated.spec b/dehydrated.spec index 826b202..abb9585 100644 --- a/dehydrated.spec +++ b/dehydrated.spec @@ -21,7 +21,7 @@ %define _home %{_sysconfdir}/dehydrated %define _postrunhooks %{_home}/postrun-hooks.d -%if 0%{?suse_version} <= 1230 || 0%{?rhel_version} <= 600 || 0%{?centos_version} <= 600 +%if 0%{?sle_version} < 120000 || 0%{?rhel_version} < 700 || 0%{?centos_version} < 700 %define _lock_dir %{_localstatedir}/run/dehydrated %bcond_with systemd %else