May we know what file this is? I would recommend against unpacking and repacking the rpm as pointed out. One can build a rpm but the process is complicated and *.spec files are convoluted at best. If I know the file you wish to include, which should be deployed via some other mechanism like Ansible, Chef, Puppet, I can offer advice. You can do a script with the rpm inline as an option.
... View more