]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
redhat: require groupadd/useradd
authorVincent Bernat <bernat@luffy.cx>
Fri, 28 Jun 2013 23:45:49 +0000 (01:45 +0200)
committerVincent Bernat <bernat@luffy.cx>
Fri, 28 Jun 2013 23:45:49 +0000 (01:45 +0200)
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

index fdb303f8314a33439dc9e80ae79d4fc5624269be..cfaa2cb74ad3c5a02ad438587e145dafcd1feaf7 100644 (file)
@@ -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