/usr/src/redhat missing

Paul Howarth paul at city-fan.org
Fri May 27 12:17:28 UTC 2005


Matthew Miller wrote:
> On Fri, May 27, 2005 at 01:37:26PM +0800, Serge de Souza wrote:
> 
>>>there.I created redhat directory under /usr/src .Under redhat
>>>directory I created RPMS,BUILD,SOURCES,SPECS,SRPMS subdirectories and
>>>under RPMS subdirectory I created athlon,i386,i486,i586,i686 and
>>>noarch directories.
> 
> [...]
> 
>>You need to install the rpm-build rpm
> 
> 
> But beyond that, you should create a per-user RPM build area in your own
> home directory and build RPMs as a normal user, not as root. See:
> <http://www.rpm.org/hintskinks/buildtree/>

A quick way of setting this up is to install fedora-rpmdevtools from 
Fedora Extras and then run the "fedora-buildrpmtree" script as the user 
you want to build RPMs as.

Paul.




More information about the fedora-list mailing list