summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-FusionInventory-Agent-Task-NetDiscovery.spec5
1 files changed, 4 insertions, 1 deletions
diff --git a/perl-FusionInventory-Agent-Task-NetDiscovery.spec b/perl-FusionInventory-Agent-Task-NetDiscovery.spec
index ba19781..b38b0d6 100644
--- a/perl-FusionInventory-Agent-Task-NetDiscovery.spec
+++ b/perl-FusionInventory-Agent-Task-NetDiscovery.spec
@@ -10,7 +10,7 @@ Source0: http://search.cpan.org/CPAN/authors/id/F/FU/FUSINV/FusionInvento
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
-BuildRequires: perl(ExtUtils::MakeMaker) perl(Module::Install)
+BuildRequires: perl(inc::Module::Install)
# For tests
BuildRequires: perl(FusionInventory::Agent) >= 2.2.0
BuildRequires: perl(Net::SNMP)
@@ -36,6 +36,9 @@ SNMP protocol.
%prep
%setup -q -n FusionInventory-Agent-Task-NetDiscovery-%{version}
+# Use system ones
+rm -rf inc/*
+
%build
perl Makefile.PL \