cpio: add patches needed in build_rpm.sh

Signed-off-by: David Abdurachmanov <David.Abdurachmanov@cern.ch>