diff --git a/ocsinventory-agent.spec b/ocsinventory-agent.spec index 97615bd..d0f6314 100644 --- a/ocsinventory-agent.spec +++ b/ocsinventory-agent.spec @@ -22,7 +22,7 @@ Name: ocsinventory-agent Summary: Open Computer and Software Inventory Next Generation client Version: 2.6.0 -Release: 5%{?dist} +Release: 6%{?dist} Source0: https://github.com/OCSInventory-NG/UnixAgent/releases/download/v%{official_version}/Ocsinventory-Unix-Agent-%{official_version}.tar.gz @@ -45,14 +45,20 @@ Patch0005: fix_utf8.diff License: GPLv2+ URL: http://www.ocsinventory-ng.org/ +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: make BuildRequires: perl-interpreter BuildRequires: perl-generators -BuildRequires: perl(Module::Install) -BuildRequires: perl(XML::Simple) -BuildRequires: perl(LWP) -BuildRequires: perl(Net::IP) -BuildRequires: perl(Digest::MD5) -BuildRequires: perl(File::Temp) +BuildRequires: perl(Config) +BuildRequires: perl(English) +BuildRequires: perl(Getopt::Long) +BuildRequires: perl(inc::Module::Install) +BuildRequires: perl(Module::Install::Metadata) +BuildRequires: perl(Module::Install::Scripts) +BuildRequires: perl(Module::Install::WriteAll) +BuildRequires: perl(strict) +BuildRequires: sed %if 0%{?rhel} >= 7 BuildRequires: systemd @@ -149,6 +155,10 @@ rm -f lib/Ocsinventory/Agent/Network.pm.orig sed -e 's/\r//' -i snmp/mibs/local/6876.xml +# Remove bundled modules +rm -rf ./inc +perl -MConfig -i -ne 'print $_ unless m{^inc/}' MANIFEST + ### # NOTE: rpmlint will complain about these macros in comments # they are on purpose to permit the comments to match @@ -305,6 +315,9 @@ rm %{buildroot}%{_sbindir}/ipdiscover %changelog +* Tue Mar 24 2020 Petr Pisar - 2.6.0-6 +- Specify all dependencies + * Wed Jan 29 2020 Fedora Release Engineering - 2.6.0-5 - Add OCSPROXYSERVER for http/s proxys