On Sun, 9 Jun 2019 08:38:05 -0700, Gordon Messmer wrote: > On 6/9/19 7:29 AM, Patrick Dupre wrote: > > How can I make a rpmbuild and keep the compiled files? > > > Have you tried "rpmbuild --noclean"?
Alternatively, end the building after the %build stage: rpmbuild -bc foo.spec And you will find the compiled files in the build dir. If you want to keep the installed files, use: rpmbuild -bi foo.spec Then find that the buildroot directory has been installed to. Also notice the --short-circuit commands covered in the manual page in case you want to modify individual spec file sections and test the changes quickly. _______________________________________________ users mailing list -- [email protected] To unsubscribe send an email to [email protected] Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/[email protected]
