LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 03: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, 01:29 AM   #2
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,420

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



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 02:08 PM
A Basic Question on rpmbuild mjovanov Red Hat 5 07-30-2011 12:48 AM
rpmbuild question prubino Linux - Software 1 01-14-2005 11:01 AM
rpmbuild newbie question newellrp1 Linux - Software 2 11-07-2004 10:47 AM
rpmbuild question Thetargos Linux - Software 6 06-18-2003 11:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:36 PM.

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
Open Source Consulting | Domain Registration