Fedora Linux Support Community & Resources Center
  #1  
Old 18th April 2005, 02:22 PM
AlaxMAX Offline
Registered User
 
Join Date: Sep 2004
Posts: 56
About the spec file in emacs-21.4-2.src.rpm

Can someone tell me if there is a bug in the spec file of emacs-21.4-2.src.rpm in the development branch of Fedora Core? When I try to build the binary packages with rpmbuild --rebuild --target i686-linux, the emacsclient binary isn't included in any of the binary packages. I suspect the line
Code:
%exclude %{_bindir}/emacs*
when enumerating the files for emacs-common binary packages.
__________________
Hardware: Dell Inspiron 2650, P4M @ 1.8GHz, i845MZ chipset, 512 MB RAM, nVIDIA GeForce 2 Go with 16 MB RAM, 20 GB hard disk, 14.1' LCD panel.
Software: BIOS A10, FC 4.92 (Pre-FC5), Kernel 2.6.15-1.2041_FC5, Xorg 7, 8174 NVIDIA drivers
Reply With Quote
  #2  
Old 18th April 2005, 07:23 PM
Evert Offline
Registered User
 
Join Date: Mar 2004
Location: Thailand ( i wish )
Posts: 317
what do you mean by Binary??

i rebuild src RPMS by installing them as NON root, and then go to /home/evert/rpmbuild/SPECS

then:

rpmbuild -ba package_name.spec

see also:
http://www.fedoranews.org/tchung/rpmbuild/
__________________
Linux box 1= sempron 3000+, 1Gb mem, 60Gb hd, 128Mb nvidia, FC5
linux box 2 = Pentium 4 2.0Ghz, 768Mb mem, 80GB hd, 256Mb ati, 2003 server
Reply With Quote
  #3  
Old 19th April 2005, 09:41 AM
AlaxMAX Offline
Registered User
 
Join Date: Sep 2004
Posts: 56
Evert: The binary package is the one that is ready to use. I mean you install it with rpm -Uvh <package>.<architecture>.rpm and then you can use the commands provided by package. Usually, package is compiled starting from <package>.src.rpm with the command rpmbuild --rebuild --target <architecture>-linux <package>.src.rpm. In the case of emacs package, the rpmbuild command produces more packages but none of them contains emacsclient, which is used to edit a document in an already existing instance of emacs (and is very useful in doing inverse search in LaTeX). This happens for the emacs source package that I have downloaded yesterday: emacs-21.4-2.src.rpm. I have solved the problem, but I would like to know if that %exclude %{_bindir}/emacs* line is a bug in the spec file or it is a bug in my RPM installer/rebuilder utility.
__________________
Hardware: Dell Inspiron 2650, P4M @ 1.8GHz, i845MZ chipset, 512 MB RAM, nVIDIA GeForce 2 Go with 16 MB RAM, 20 GB hard disk, 14.1' LCD panel.
Software: BIOS A10, FC 4.92 (Pre-FC5), Kernel 2.6.15-1.2041_FC5, Xorg 7, 8174 NVIDIA drivers

Last edited by AlaxMAX; 19th April 2005 at 09:44 AM.
Reply With Quote
Reply

Tags
emacssrcrpm, file, spec

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Can someone check my spec file? uncholowapo Gamers' Lounge 2 16th October 2008 12:22 AM
rpm spec file macro help FunkyRes Programming & Packaging 1 14th September 2008 03:36 PM
Create own rpm - need help with spec file den23513 Using Fedora 2 6th July 2008 09:25 PM
writing spec file munna_dude Servers & Networking 3 18th August 2007 11:54 AM
Viewing the spec file of RPM“s eggsy85 Programming & Packaging 4 4th August 2005 05:36 PM


Current GMT-time: 14:19 (Saturday, 22-11-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Kasama Photos - Balarampur - Saginaw Photos