recommended way to install source rpms?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@trap64 log]# su - herrold
[herrold@trap64 ~]$ cat .rpmmacros
%_topdir      /home/herrold/rpmbuild
%make   make
%dist   orc
%releasetagsuffix       orc
%vendor                 %{dist}
#
         [herrold@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@trap64 ~]$

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
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux