Resolved deprecated options rpm spec

This commit is contained in:
fbsanchez 2019-12-23 13:28:38 +01:00
parent ecb190910b
commit 2a0187022b
1 changed files with 4 additions and 2 deletions

View File

@ -18,7 +18,8 @@ Packager: Sancho Lerena <slerena@artica.es>
Prefix: /usr/share Prefix: /usr/share
BuildRoot: %{_tmppath}/%{name}-buildroot BuildRoot: %{_tmppath}/%{name}-buildroot
BuildArch: noarch 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 AutoReq: 0
Provides: %{name}-%{version} Provides: %{name}-%{version}
Requires: perl-DBI perl-DBD-mysql perl-libwww-perl 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 %prep
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%setup -q -n pandora_server %setup -n pandora_server
%build %build
ls -latR
%install %install