apply patches to spark source during RPM build