From: Vincent Bernat Date: Fri, 12 Jul 2013 07:36:40 +0000 (+0200) Subject: packaging: change `PreReq` to `Requires(pre)` in lldpd.spec X-Git-Tag: 0.7.6~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3336988a6ccdc0f0704a1433c833d07d6fc2a2f0;p=thirdparty%2Flldpd.git packaging: change `PreReq` to `Requires(pre)` in lldpd.spec PreReq is deprecated and makes the build fail on OSC. --- diff --git a/redhat/lldpd.spec b/redhat/lldpd.spec index 816e47f3..50436f45 100644 --- a/redhat/lldpd.spec +++ b/redhat/lldpd.spec @@ -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