HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Technical (http://www.howtoforge.com/forums/forumdisplay.php?f=8)
-   -   rpm build howto (http://www.howtoforge.com/forums/showthread.php?t=45652)

omonte 7th May 2010 20:29

rpm build howto
 
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.

falko 8th May 2010 12:43

Chapter four on http://www.howtoforge.com/virtual-us...dora-12-x86_64 should give you the idea. Please run
Code:

visudo
and add your regular user.

topdog 10th May 2010 11:38

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


All times are GMT +2. The time now is 04:23.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.