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

Re: Building RPM Packages as non-root



On Thu, Mar 29, 2001 at 07:42:19PM +0200, Bo Forslund wrote:
> Ivan_Watkins@tivoli.com wrote:
> 
> > How do I create RPM packages without being root?
> > Is is just as simple as changing the file permissions on the RPM
> > directories or does RPM provide another mechanism.
> >
> > Regards,
> >
> > Ivan Watkins
> >
> 
> Yes there is another mechaism.
> 
> Create a file ~/.rpmmacros comtaining something like this
> 
>     %_topdir        /home/username/RPM
> 
> Then create the dirs under ~/RPM
> 
>     mkdir -p ~/RPM/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
> 
> Eventually You need to create som more dir  if rpm complains about some
> nonexistent dir.

Sure, and you need to hack 1/2 of specs out there that use install -m
or sth like this :>
Some ditros did it a long time ago (hint: PLD), some didn't.

-- 
: Michal ``,/\/\,       '' Moskal    | |            : GCS {C,UL}++++$
:          |    |alekith      @    |)|(| . org . pl : {E--, W, w-,M}-
:                                  |                : {b,e>+}++ !tv h
: Current project:  http://aleph-0.dhs.org/ywindow/ : PLD Team member





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