Originally posted by XavierP
You can do the install because in the above example you are only using your home drive, to which you have full access.
Executing rpmbuild accesses files to which only root has access. You will need to su to root to do rpmbuild.
Thank you for your response....
My requirement is to do rpmbuild as non-root....I mean I am writing a script
which has rpmbuild as one of the step....and In this case any user should
run the script... (which results is rpmbuild as well..)
for install I did some changes in macros ...like redefined the topdirectory and
dbpath....so I am wondering if I can achieve rpmbuild as non-root after doing
some changes in macros again!!!!!!!!
Not sure if its possible at all...