LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-24-2012, 04:26 PM   #1
edgarosy
LQ Newbie
 
Registered: Oct 2007
Posts: 22

Rep: Reputation: 0
rpmbuild question


have a quick question hope someone can help me. I am building an rpm file out of a tar ball file with a user other than root who has sudo privilages. all rpm related directories have been created under the normal user $HOME directory i.e RPMS SOURCES BUILD etc. When I run the rpmbuild -ta tarball file command, it builds the rpm file fine but it places everything under the /root/rpmbuild home directory instead of the users directory. my .rpcmacros files has %_topdir /home/user/rpm

here is an example of the output at the end of the rpmbuild command:

Wrote: /root/rpmbuild/RPMS/x86_64/


why is that?

Thanks for your help.
 
Old 04-25-2012, 02:29 AM   #2
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
Quote:
Wrote: /root/rpmbuild/RPMS/x86_64/
It means your package has been made in this above mentioned directory.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] rpmbuild DISTRO= question BradMarks Linux - Newbie 5 01-16-2012 03:08 PM
A Basic Question on rpmbuild mjovanov Red Hat 5 07-30-2011 01:48 AM
rpmbuild question prubino Linux - Software 1 01-14-2005 12:01 PM
rpmbuild newbie question newellrp1 Linux - Software 2 11-07-2004 11:47 AM
rpmbuild question Thetargos Linux - Software 6 06-19-2003 12:18 AM


All times are GMT -5. The time now is 04:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration