I am on Fedora 31 and I do software development. I need to work with code in many source RPM packages for relatively short periods of time. For this reason, I'd like to simply build the package, but not actually perform the "install" step most of the time.
Is there a way to do this using RPM yum or DNF? To clarify, I would like to build the project as specified in the specfile, in order to have running binaries, but not "install" it; that is, I do not want the built files to be actually copied into the system's filesystem structure.
rpmbuild -bcwould build ("make") the binaries but stop short of the installation. Does that sound like what you want?