rpm build howto

Discussion in 'Technical' started by omonte, May 7, 2010.

  1. omonte

    omonte New Member

    Hello, this is my first try at building rpms. All the documentation out there states to build rpms as a regular user and not root. Now I know why they suggest that, however I'm running into a problem because I need to run the user/groupadd commands during the rpm build process and therefore my rpm build is failing, because I don't have root access. So, apart from running the rpm build as root is there any other way (through the spec file?) to get around this? Thanks.
     
  2. falko

    falko Super Moderator HowtoForge Supporter

  3. topdog

    topdog HowtoForge Supporter HowtoForge Supporter

    You should not be making changes to the system during the rpm build process, the changes should be made during installation of the rpm.
     

Share This Page