[CentOS] recommended way to install source rpms?

Mon Oct 11 01:53:49 UTC 2010
JohnS <jses27 at gmail.com>

On Sun, 2010-10-10 at 21:35 -0400, R P Herrold wrote:
> On Sun, 10 Oct 2010, JohnS wrote:
> 
> > On Sun, 2010-10-10 at 17:36 -0600, Frank Cox wrote:
> 
> >> There is very little to explain, if all you want to do is examine the
> >> source.
> >>
> >> Install rpmdevtools.  Run rpmdev-setuptree
> 
> > Warning: No matches found for: rpmdevtools
> > No Matches found
> 
> As I recall, rpmdevtools is a Fedora-ism

> The actions in question set up a local %{_topdir} and then the 
> RPMS, SOURCES, SPECS and so forth directories for a local user
> 
> [root at trap64 log]# su - herrold
> [herrold at trap64 ~]$ cat .rpmmacros
> %_topdir      /home/herrold/rpmbuild
> %make   make
> %dist   orc
> %releasetagsuffix       orc
> %vendor                 %{dist}
> #
>          [herrold at trap64 ~]$ ls -l ~/rpmbuild/
> total 40
> drwxrwxr-x 8 herrold herrold 4096 Oct 10 21:12 BUILD
> drwxrwxr-x 4 herrold herrold 4096 Oct  4 16:53 RPMS
> drwxrwxr-x 3 herrold herrold 4096 Oct 10 21:12 SOURCES
> drwxrwxr-x 2 herrold herrold 4096 Oct 10 21:12 SPECS
> drwxrwxr-x 2 herrold herrold 4096 Oct 10 21:12 SRPMS
> [herrold at trap64 ~]$
> RPM-build-tree.txt
> I think at one point the referenced package had a copy of a 
> little script I've long since published at:
>  	ftp://ftp.owlriver.com/pub/local/COLUG/RPM-build-tree.txt


> itself based on a post on the mailing list rpm-list
> 
> -- Russ herrold
----
:-)   Well I knew where it was,  it's just not in the distro. (fedorism)
He would yet be stuck installing another repo for the people.  Would be
easier to use your Russ RPM-build-tree.txt script for him to do it.  I
like this option also added to it "%_tmppath" /foo/hoo ....

John