From 3336988a6ccdc0f0704a1433c833d07d6fc2a2f0 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Fri, 12 Jul 2013 09:36:40 +0200 Subject: [PATCH] packaging: change `PreReq` to `Requires(pre)` in lldpd.spec PreReq is deprecated and makes the build fail on OSC. --- redhat/lldpd.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5