From: Vincent Bernat Date: Fri, 28 Jun 2013 23:45:49 +0000 (+0200) Subject: redhat: require groupadd/useradd X-Git-Tag: 0.7.6~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=784077f8b0964896841c0de07fc33be8dfb007ee;p=thirdparty%2Flldpd.git 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. --- 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