LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 02-03-2011, 03:04 PM   #1
Polaris395
LQ Newbie
 
Registered: Feb 2011
Posts: 5

Rep: Reputation: 0
Finding the spec file in glibc-2.12.1


I have the tar file of glibc-2.12.1, but now I want to edit the SPEC file. I can't find it.

For those that want a "why", I'm trying to make it smaller.

So simply, where is the SPEC file for glibc? (rpmbuild cannot find it in the *.tar.gz file)

Edit: gz, not bz.

Last edited by Polaris395; 02-03-2011 at 03:07 PM.
 
Old 02-03-2011, 03:20 PM   #2
goodhombre
Member
 
Registered: Mar 2010
Location: Ungheni, Rep. Moldova
Distribution: Ubuntu
Posts: 84

Rep: Reputation: 21
Hi,

The spec file can be found in a src.rpm package .
Smth like glibc-2.12-1.src.rpm, you can download it for the distro repository .
Ater installation of src.rpm package you can find spec file in : /usr/src/redhat/SPECS .
 
Old 02-03-2011, 03:48 PM   #3
Polaris395
LQ Newbie
 
Registered: Feb 2011
Posts: 5

Original Poster
Rep: Reputation: 0
There it is. I don't know why I couldn't get it before because I thought I tried that.

Anyway, thanks for your help!

~P395
 
Old 02-03-2011, 04:28 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,354
Blog Entries: 55

Rep: Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541
A word of warning if I may. If your distribution offers quality assurance and any form of package management, and if your current release offers a certain packaged version of GNU/libc, then please realize Glibc is one of the hearts that makes Linux tick. Even with more or less guaranteed backward compatibility I would still suggest thinking twice before replacing their version and at least research recovery options before trying it.
 
Old 02-03-2011, 11:38 PM   #5
Polaris395
LQ Newbie
 
Registered: Feb 2011
Posts: 5

Original Poster
Rep: Reputation: 0
No worries on that mate. Half the point of this is to break something.
 
  


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
How to extract spec file from rpm file nayankk Programming 18 11-12-2015 02:11 PM
changing the content of file in spec file dsubbarao Linux - Newbie 7 01-30-2007 06:41 AM
Finding & Downgrading glibc malru Linux - General 1 06-07-2006 05:01 AM
RPM Spec file creation: %file section question davidas Linux - Newbie 0 03-16-2004 10:36 PM
Help on finding Decent suitable linux distro for (1994) spec hamster Linux - Distributions 8 05-12-2003 02:33 PM

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

All times are GMT -5. The time now is 03:24 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration