From fb42b538c22d9f1690584f7f2969bbc12632ecef Mon Sep 17 00:00:00 2001 From: sabban Date: Tue, 29 Aug 2023 14:36:19 +0200 Subject: [PATCH] test for cron dependency for packaging --- 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 318f472c831..1761d2b90b4 100644 --- a/rpm/SPECS/crowdsec.spec +++ b/rpm/SPECS/crowdsec.spec @@ -13,7 +13,7 @@ Patch1: 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}