rpmbuild - creating a RPM to simply unpack a tar ball -


I am writing a .spec file for an RPM that just open a tar ball in some directories on the file system < / P>

So where do I keep the original tar ball? I have seen that the original tar ball has been downloaded from the Internet from all the instances. But this is not the case in my case.

Should I put a resin ball in the% file section so that it becomes part of RPM? If this is the case, how do I refer it to the% setup macro which is going to unpack it?

Inside tableball RPM - bad idea what you should do, float duplicate root in the% install phase Open in the folder in the appropriate places, then list all the files in% files. RPM compresses the content so that you are not losing anything on the size of the RPM, but the files present in your new RPM are tracked for verification and can be verified (rpm -qV).


Comments