I am modifying gnome-shell-3.8.xx.rpm package. I have created several patches for rpm and they are working fine. Now I want to add new source file in rpm but I am not able to find how to do it?
For patches I have followed below approach:
- Download source rpm.
- install rpm which creates BUILD, BUILDROOT, RPMS, SOURCES SPECES SRPMS directories.
- copy my patches in SOURCES directory.
- Modify the SPEC file to include my patches
- Create new package with rpmbuild -bb SPEC/spec_file command.