From e4bc525620c1237701080f45d406e3dc67999c8e Mon Sep 17 00:00:00 2001 From: Jakub Jelen Date: Sat, 27 Jan 2018 11:00:44 +0100 Subject: [PATCH] remove systemd-units Per announcement on fedora-devel: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/LLG4T53FW2BGVZLGLKNYTKPD5SQNBZ2Y/ --- cyrus-sasl.spec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/cyrus-sasl.spec b/cyrus-sasl.spec index 2a66919..7e29e2c 100644 --- a/cyrus-sasl.spec +++ b/cyrus-sasl.spec @@ -76,9 +76,10 @@ BuildRequires: libdb-devel %if ! %{bootstrap_cyrus_sasl} BuildRequires: openldap-devel %endif -Requires(post): chkconfig, systemd-units -Requires(pre): /usr/sbin/useradd /usr/sbin/groupadd systemd-units -Requires(postun): /usr/sbin/userdel /usr/sbin/groupdel systemd-units +%{?systemd_requires} +Requires(post): chkconfig +Requires(pre): /usr/sbin/useradd /usr/sbin/groupadd +Requires(postun): /usr/sbin/userdel /usr/sbin/groupdel Requires: /sbin/nologin Requires: systemd >= 211 Provides: user(%username)