Given following log snippets, their explanation, and nothing else, explain what failure, if any, occurred during build of this package.

  Snippets are in a format of [X] : [Y], where [X] is a log snippet, and [Y] is the explanation.

  Snippets are delimited with '================'.

  Drawing on information from all snippets, provide a concise explanation of the issue and recommend a solution.

  Explanation of the issue, and recommended solution, should take a handful of sentences.

  Snippets:

  [+ rm -f /builddir/build/BUILD/freecad-1.1.0_dev-build/BUILDROOT/usr/lib64/freecad/include/E57Format/E57Export.h
+ rm -f /builddir/build/BUILD/freecad-1.1.0_dev-build/BUILDROOT/usr/include/gmock
rm: cannot remove '/builddir/build/BUILD/freecad-1.1.0_dev-build/BUILDROOT/usr/include/gmock': Is a directory]: [Shows the error]
=============
[error: Bad exit status from /var/tmp/rpm-tmp.elIznh (%install)]: [Failed on %install]

Issue: rm -f was used on directory, should be rm -r for 'recursive'
Resolution: Fix your script 