]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
packaging: change `PreReq` to `Requires(pre)` in lldpd.spec
authorVincent Bernat <bernat@luffy.cx>
Fri, 12 Jul 2013 07:36:40 +0000 (09:36 +0200)
committerVincent Bernat <bernat@luffy.cx>
Fri, 12 Jul 2013 07:36:40 +0000 (09:36 +0200)
PreReq is deprecated and makes the build fail on OSC.

redhat/lldpd.spec

index 816e47f316cb13c7e23c866d340ffc92900f929b..50436f453e237f93bddab5281b2477603cd391e9 100644 (file)
@@ -50,7 +50,7 @@ BuildRequires: libxml2-devel
 %if 0%{?suse_version}
 PreReq: %fillup_prereq %insserv_prereq pwdutils
 %else
-PreReq: /usr/sbin/groupadd /usr/sbin/useradd
+Requires(pre): /usr/sbin/groupadd /usr/sbin/useradd
 Requires(post): chkconfig
 Requires(preun): chkconfig
 Requires(preun): initscripts