LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 12-13-2007, 02:50 PM   #1
powah
Member
 
Registered: Mar 2005
Distribution: FC, Gentoo
Posts: 276

Rep: Reputation: 30
rpmbuild error: File ./test-2.3.0/SOURCES/test-2.3.0.tar.gz: No such file


$ rpmbuild -bb ./test.spec
error: File ./test-2.3.0/SOURCES/test-2.3.0.tar.gz: No such file or
directory

The file test-2.3.0.tar.gz is located at /tmp/SOURCES/
test-2.3.0.tar.gz.
How to change test.spec to do that?
The linux is FC6.

I tried to set BuildRoot but it does not work:
BuildRoot: /tmp

Last edited by powah; 12-13-2007 at 03:17 PM.
 
Old 12-13-2007, 03:30 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 21,576
Blog Entries: 47

Rep: Reputation: 1402Reputation: 1402Reputation: 1402Reputation: 1402Reputation: 1402Reputation: 1402Reputation: 1402Reputation: 1402Reputation: 1402Reputation: 1402
In your ~/.rpmmacros file setting "%_sourcedir /tmp/SOURCES" should work. IMHO it's easier / efficient to have a separate tree for building RPM's under which you locate the build, source, temp, spec and such dirs.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
to test that a file exists but is not writeable? johnpaulodonnell Linux - Newbie 2 01-30-2007 06:11 AM
test.c:1:19: error: stdio.h: No such file or directory Lokathor Debian 2 09-14-2006 12:11 PM
if test for a file name pattern Melsync Programming 12 12-15-2005 05:42 PM
test.c:1:19: Stdio.h: No such file or directory :( wogga Linux - Software 1 06-11-2004 02:57 PM
Test for file cxel91a Programming 6 04-15-2003 11:23 AM


All times are GMT -5. The time now is 02:56 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration