Re: src rpm packages

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

 



The problem is that unless you want to change the ownerships and/or 
permissions on the /usr/src/redhat directory, you need to have root privs 
to recompile .src.rpms, a process which places all of the necessary files 
under that subdirectory structure, which is owned by root.root.

On Fri, 27 Jun 2003, Jesse Keating wrote:

> On Friday 27 June 2003 11:54, Mike Burger wrote:
> > As root, you would usually run "rpmbuild name-of.src.rpm"
> >
> > Alternatively, you could use "rpm -i name-of.src.rpm" to install the
> > src.rpm, then go to /usr/src/redhat/SPECS, and run "rpmbuild -ba
> > package-name.spec".  Either way, the resulting binary RPMs will be
> > placed in the /usr/src/redhat/RPMS/i386 directory (could also be i686
> > or some such, but most likely in hte i386 subdirectory).
> 
> Please note, building rpms as root is a big nono.
> 
> Building RPM packages as a non-root user: 
> ftp://people.redhat.com/mharris/hacks/
> 
> 

-- 
Mike Burger
http://www.bubbanfriends.org

Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org or http://dogpound2.citadel.org:2000

To be notified of updates to the web site, send a message to:

site-update-request@xxxxxxxxxxxxxxxxx

with a message of: 

subscribe




[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux