diff --git a/ocsinventory-agent.spec b/ocsinventory-agent.spec index fd40a42..23cbfbd 100644 --- a/ocsinventory-agent.spec +++ b/ocsinventory-agent.spec @@ -231,7 +231,6 @@ rm run-postinst %install %{make_install} find %{buildroot} -type f -name '*.bs' -size 0 -delete -%{_fixperms} %{buildroot}/* # Move exe to root directory mv %{buildroot}%{_bindir} %{buildroot}%{_sbindir} @@ -273,6 +272,9 @@ rm %{buildroot}%{perl_vendorlib}/Ocsinventory/Unix/postinst.pl # Provided by ocsinventtory-ipdiscover rm %{buildroot}%{_sbindir}/ipdiscover +# the source comes with some odd permissions set +# just fix them to make sense +find %{buildroot} -type f -exec chmod 644 {} \; %post