[NTLUG:Discuss] SRPM install locations?

A.L.Lambert alambert at manisec.com
Wed Jun 13 21:04:22 CDT 2001


> once a source-rpm has been downloaded and installed with the rpm -ivh
> {source}.rpm command, how do you tell where it put the source files?
> 
> -frustrated with all of this redhat supposed automation

/usr/src/redhat/SOURCES/filename-blah.tar.gz

	If you want to build the RPM from src.rpm, do one of the
following:


rpm --rebuild package-version-release.src.rpm

	or to build customized RPM's, install the src.rpm (-ivh), and go
edit either the /usr/src/redhat/SOURCES/*, or if your changes are related
to how the package installs itself, try
/usr/src/redhat/SPECS/package.spec.

	RPM is actually a cool thing once you get friendly with it.  
IIRC, www.rpm.org had some nice how-to's on rpm building and such if
you're looking for more detailed info.

	Cheers!

-- A.L.Lambert
------------------------------------------------------------------------
Everything should be made as simple as possible, but not simpler.
	-Einstein
------------------------------------------------------------------------




More information about the Discuss mailing list