Why rpmbuild command wipes out source files? Is there any way to prevent it and keep the source files?
Issue
- Why
rpmbuild
command wipes out source files? Is there any way to prevent it and keep the source files? - This can be called manually using the --rmsource flag, however without using this flag,
rpmbuild
is automatically clearing the source directory. - This happens whether or not the target package is actually built
- How to prevent rpmbuild from deleting the source files?
Environment
- Red Hat Enterprise Linux 7
- rpmbuild
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.