You can use rpmrebuild to modify the real rpm file (it does not need to be installed).
, . , script rpm, .
rpmrebuild -ep theFileName.rpm
RPM. ~/.tmp/rpmrebuild.12839/work/spec.2. , ~/.tmp/rpmrebuild.12839/work, , RPM ( root/usr/sbin ). , , cd , .
, spec, ( , ), "y" " ". RPM , ( , ~/rpmbuild/RPMS/x86_64/)