Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 12-07-2005, 12:08 PM   #1
LQ Newbie
Registered: Dec 2005
Posts: 3

Rep: Reputation: 0
rpmbuild -bb error: does not appear to be a specfile.

rpmbuild -bb ./ElectricFence-2.2.2-19.src.rpm

error: File ./ElectricFence-2.2.2-19.src.rpm does not appear to be a specfile.

When I try to build a src.rpm I get the above error. Anyone have any ideas?

Last edited by keisinger; 12-07-2005 at 12:53 PM.
Old 12-07-2005, 12:54 PM   #2
LQ Newbie
Registered: Dec 2005
Posts: 3

Original Poster
Rep: Reputation: 0
I was able to solve my own problem.

I changed options with the rpmbuild command
"rpm --rebuild ElectricFence-2.2.2-19.src.rpm" and thing went smoothly.
Old 12-07-2005, 01:11 PM   #3
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
On what distro was this because I am sure on those distros using RPM 4.x (almost every new rpm based distro), the right way would be
#rpmbuild --rebuild filename.src.rpm


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
rpmbuild cpio read error winglin Linux - Software 1 08-25-2007 12:43 AM
Broken Pipe error with rpmbuild in rh9 tuxfood Red Hat 1 05-21-2005 04:30 PM
rpmbuild of xine error... _TT_ Linux - Software 0 10-22-2004 06:33 AM
rpmbuild --rebuild qmail-1.03 gets error aggiesoft Red Hat 0 03-02-2004 01:14 PM
error during compiling rpms using rpmbuild jogurt666 Red Hat 4 11-04-2003 06:47 AM > Forums > Linux Forums > Linux - Software

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

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