Why rpmbuild command wipes out source files? Is there any way to prevent it and keep the source files?
Issue
- Why
rpmbuildcommand 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,
rpmbuildis 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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
