diff --git a/ocsinventory-agent.spec b/ocsinventory-agent.spec index f5a60f1..48b4f60 100644 --- a/ocsinventory-agent.spec +++ b/ocsinventory-agent.spec @@ -246,6 +246,10 @@ install -m 644 etc/ocsinventory-agent/modules.conf %{buildroot}/%{_sysconfdir}/o # Remove some unusefull files (which brings unresolvable deps) rm -rf %{buildroot}%{perl_vendorlib}/Ocsinventory/Agent/Backend/OS/Win32* +# Drop extra files +rm -f %{buildroot}%{perl_vendorarch}/auto/Ocsinventory/Unix/Agent/.packlist +rm -f %{buildroot}%{perl_vendorarch}/../perllocal.pod + # Only need for manual installation rm %{buildroot}%{perl_vendorlib}/Ocsinventory/Unix/postinst.pl