I'm learning how to create RPMs for my own packages. Normally I can do everything while logged into my own account but instructions on making RPMs always seem to want you to use some other account.
One tutorial I followed utilized
rpmdev-setuptree, for example, creates a directory
rpmbuild/ in my home directory and (not the current directory as I would have expected). The instructions also suggested that I create a separate
build account. This seems excessive and it makes managing files between this special account and the account I'm developing on difficult.
The official fedora documentation uses the
fedora-review packages and then proceeds to have you add yourself to the mock group. Again, it suggests:
You can also create a separate user and use it for doing RPM development. Ensure that the user is part of the mock group and enters the
Both of these instructions encourage building an RPM on a separate account.
Why is this? My knee-jerk reaction is to try an work around this somehow for convenience. What problems might I face by creating RPMs from my normal account?