I’m trying to make a spec file (rpm) for a insanely big software. The compile process takes about 5 hours and I don’t want to review the spec file for installed files every 5 hours.
Is there a tool for generating spec files? I am not concerned about the dependencies as I can set them manually.
rpmdev-newspecwill give you the skeleton of a spec file. From there you can tune the various sections. You’ll find copious amounts of--short-circuituseful, but do make sure that it builds cleanly from beginning to end at least once.