From 784077f8b0964896841c0de07fc33be8dfb007ee Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Sat, 29 Jun 2013 01:45:49 +0200 Subject: [PATCH] redhat: require groupadd/useradd Those are needed on RHEL/CentOS if lldpd is installed early (for example, in Kickstart). Thanks to Larry Brigman for correcting this. --- redhat/lldpd.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/redhat/lldpd.spec b/redhat/lldpd.spec index fdb303f8..cfaa2cb7 100644 --- a/redhat/lldpd.spec +++ b/redhat/lldpd.spec @@ -50,6 +50,7 @@ BuildRequires: libxml2-devel %if 0%{?suse_version} PreReq: %fillup_prereq %insserv_prereq pwdutils %else +PreReq: /usr/sbin/groupadd /usr/sbin/useradd Requires(post): chkconfig Requires(preun): chkconfig Requires(preun): initscripts -- 2.39.5