From 4bd4e8dc297b77ee1c776b523a54d642ec1eecac Mon Sep 17 00:00:00 2001 From: Manuel Sabban Date: Wed, 13 Nov 2024 15:42:10 +0100 Subject: [PATCH] test for cron dependency for packaging (#3331) --- rpm/SPECS/crowdsec.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpm/SPECS/crowdsec.spec b/rpm/SPECS/crowdsec.spec index ab71b650d11..ac438ad0c14 100644 --- a/rpm/SPECS/crowdsec.spec +++ b/rpm/SPECS/crowdsec.spec @@ -12,7 +12,7 @@ Patch0: user.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: systemd -Requires: crontabs +Requires: (crontabs or cron) %{?fc33:BuildRequires: systemd-rpm-macros} %{?fc34:BuildRequires: systemd-rpm-macros} %{?fc35:BuildRequires: systemd-rpm-macros}