Skip to content
Discussion options

You must be logged in to vote

Ok so maybe some people already know how to do this, but its my first time working on a VM and didnt know. Run mkdir -p ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS} to create the directories in your home directory. The run echo '%_topdir %(echo $HOME)/rpmbuild' > ~/.rpmmacros to create an rpm macros file that will direct any and all of your rpmbuilds to your home directory. This should fix your issue. To anyone experienced, sorry for the stupid question.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by breomer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant