How does one install kernel*.src.rpm ?

akonstam at trinity.edu akonstam at trinity.edu
Mon Oct 24 13:08:33 UTC 2005


On Mon, Oct 24, 2005 at 12:40:05AM -0400, Tony Nelson wrote:
> At 4:52 PM -0500 10/23/05, akonstam at trinity.edu wrote:
> >On Sun, Oct 23, 2005 at 07:49:03AM -0700, Kenneth Porter wrote:
> >> --On Sunday, October 23, 2005 8:38 AM -0500 akonstam at trinity.edu wrote:
> >>
> >> >You place the
> >> >src.rpm in the directory /usr/src/redhat/SRPMS (this is not essential
> >> >but makes things more organized). Then you process the file by
> >> >running: rpm -ivh ...src.rpm
> >>
> >> Not exactly. /usr/src/redhat/SRPMS is an *output* directory where an SRPM
> >> is generated from a set of source tarballs, patches, and a spec file. You
> >> can toss the original SRPM (.src.rpm) wherever is convenient. I like to put
> >> mine in /usr/src/redhat/Downloads/<source>, eg.
> >> /usr/src/redhat/Downloads/Fedora/4/updates, and then rebuild from there. If
> >> you then run "rpmbuild -ba foo.src.rpm", the new repackaged foo.src.rpm
> >> will be written to /usr/src/redhat/SRPMS.
> >>
> >I agree that a src.rpm file can be put anywhere. However, if a
> >foo.src.rpm is not a source rpm what is it? Why exactly do you want to
> >repackage a src.rpm file that is already packaged.-
> 
> When you "rpmbuild -ba" new binary and source rpms are made.  If your
> original srpm is where the new srpm will be put, the original can be
> overwritten (if the package has the exact same name).

I  agree with that but why exactly do you want to procedd a source rpm
to get a source rpm. Are  you assumeing a change in the spec file along
the way. 

=======================================================================
I consider the day misspent that I am not either charged with a crime,
or arrested for one.
		-- "Ratsy" Tourbillon
-------------------------------------------
Aaron Konstam
Computer Science
Trinity University
telephone: (210)-999-7484




More information about the fedora-list mailing list