If while installing rpm package following error occurs
warning: user XXX does not exist - using root
Issue : I'm trying to build/install an rpm and it keeps giving me these warnings while installing the binary. Though I heard this could be safely ignored as its bcos there is no user XXX on my box, was wondering if there is a way to supress this in the rpm spec file itself. I know I could also manually build it as root. But curious if we could supress this from the spec.
Resolution:
Add the following in the spec file and recompile the spec file
%defattr(-,root,root)