Fix version conditions
OBS-URL: https://build.opensuse.org/package/show/security:dehydrated/dehydrated?expand=0&rev=44
This commit is contained in:
parent
f49a7b4c9f
commit
c29b838222
@ -2,7 +2,7 @@
|
|||||||
Sat Aug 10 17:18:25 UTC 2019 - Daniel Molkentin <daniel.molkentin@suse.com>
|
Sat Aug 10 17:18:25 UTC 2019 - Daniel Molkentin <daniel.molkentin@suse.com>
|
||||||
|
|
||||||
- Behavioral change: Use cron only for older RHEL/CentOS versions
|
- 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
|
Please adopt accordingly! Refer to README.md for
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
%define _home %{_sysconfdir}/dehydrated
|
%define _home %{_sysconfdir}/dehydrated
|
||||||
%define _postrunhooks %{_home}/postrun-hooks.d
|
%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
|
%define _lock_dir %{_localstatedir}/run/dehydrated
|
||||||
%bcond_with systemd
|
%bcond_with systemd
|
||||||
%else
|
%else
|
||||||
|
Loading…
Reference in New Issue
Block a user