#1  
Old 7th May 2010, 20:29
omonte omonte is offline
Junior Member
 
Join Date: May 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.
Reply With Quote
Sponsored Links
  #2  
Old 8th May 2010, 12:43
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

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.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 10th May 2010, 11:38
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 153 Times in 150 Posts
 
Default

You should not be making changes to the system during the rpm build process, the changes should be made during installation of the rpm.
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
rpm build ERROR!! with Fedora 12 - Perfect server ISPConfig3 j.smith19810808 HOWTO-Related Questions 11 30th March 2010 14:30
Courier-imap rpm build failure bholt Installation/Configuration 2 24th September 2009 17:10
Howto build RHEL Workstation MultiOS from CentOS / Scientific Linux defcon3 Suggest HOWTO 0 9th September 2009 16:37
CentOS 4 - Zlib upgrade HowTo cryptic Tips/Tricks/Mods 7 3rd May 2008 21:14
Postfix + VDA patch (doesn't build RPM on server) VelhaChica Server Operation 5 18th October 2007 16:50


All times are GMT +2. The time now is 01:11.


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