LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (http://www.linuxquestions.org/questions/red-hat-31/)
-   -   Source RPMS origins? (http://www.linuxquestions.org/questions/red-hat-31/source-rpms-origins-604272/)

keysorsoze 12-03-2007 09:29 PM

Source RPMS origins?
 
Hi! this may be the stupidest question but I would like to know where source rpms come from? Also what sites can you recommend trusted src.rpm files for custom compile? My thoughts are that source rpm's where once a tar.gz file and someone ran make on it? If not where do genuine src.rpms come from? Redhat?

Thanks

weibullguy 12-03-2007 09:50 PM

I'm not an RPM user, so I found this tutorial easy on the brain http://www-128.ibm.com/developerworks/library/l-rpm1/. I think it answers all of your questions except who to trust. In that case, I would trust a src rpm from a site that I trusted the binary portion.

Micro420 12-03-2007 10:31 PM

Source RPM's come from the source code. You then have what's called a Spec file, which tells the rpmbuild command how to make the actual RPM package which you can then distribute to users and machines.

Usually for me, I just skip the RPM's and go with the source code.

keysorsoze 12-03-2007 10:43 PM

Thanks weibullguy, and Micro420.

I'll give the link a read thanks for the explanation. Somewhat clears up the confusion, Micro I need to get rpms because we are going to install on multiple systems and rpm's will help us manage the packages better.

weibullguy 12-03-2007 11:23 PM

Quote:

Originally Posted by Micro420 (Post 2979217)
Usually for me, I just skip the RPM's and go with the source code.

I agree. If you're going to build from source, just grab the tarball from the developer. Usually that's all you 'll need. Sometimes an RPM has a sweet little patch you might want or need though. That's the only thing I remember ever using an RPM for.

emmerre 12-04-2007 05:11 AM

ftp://ftp.redhat.com/pub/redhat/linu...er/en/os/SRPMS


All times are GMT -5. The time now is 10:27 AM.