From 2a0187022b7423c6567651755b82ac1949b90ff1 Mon Sep 17 00:00:00 2001 From: fbsanchez Date: Mon, 23 Dec 2019 13:28:38 +0100 Subject: [PATCH] Resolved deprecated options rpm spec --- pandora_server/pandora_server.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pandora_server/pandora_server.spec b/pandora_server/pandora_server.spec index cfa593bc8d..88d7c7ce78 100644 --- a/pandora_server/pandora_server.spec +++ b/pandora_server/pandora_server.spec @@ -18,7 +18,8 @@ Packager: Sancho Lerena Prefix: /usr/share BuildRoot: %{_tmppath}/%{name}-buildroot BuildArch: noarch -PreReq: %fillup_prereq %insserv_prereq /usr/bin/sed /usr/bin/grep /usr/sbin/useradd +# PreReq: %fillup_prereq %insserv_prereq /usr/bin/sed /usr/bin/grep /usr/sbin/useradd +Requires(pre,preun):/usr/bin/sed /usr/bin/grep /usr/sbin/useradd AutoReq: 0 Provides: %{name}-%{version} Requires: perl-DBI perl-DBD-mysql perl-libwww-perl @@ -43,9 +44,10 @@ A few examples of common resources monitored by Pandora FMS could be processor l %prep rm -rf $RPM_BUILD_ROOT -%setup -q -n pandora_server +%setup -n pandora_server %build +ls -latR %install