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.
%patch##? To package a file you need to copy it somewhere appropriate during%installand potentially add it to the list of files under%files. - Etan ReisnerSOURCESand add it as aSource##line the way the other sources (and patches withPatch##) work. Then do what I said above. - Etan Reisner