On Fri, Aug 17, 2001 at 09:30:24AM +0200, Juergen Vigna wrote:
>
> On 16-Aug-2001 Zvezdan Petkovic wrote:
>
> > That way my rpm shell script is executed when I type rpm ...
> > It adds my rpmrc file, and it adds my macros file. Hence the topdir and
> > tmppath get changed to my directories and I can build as a regular user.
>
> I did this but then the files in the rpm-package have my user-id and group-id
> instead of root:root (or whatever it should have) and then on installing
> on systems where I don't have such a user I get warnings about user non
> existing substituting with root and I don't like that warnings. What I do
> is test-build as user (for the same resons as you) but then build the final
> as root.
Debian has a fakeroot command: basically a library LD_PRELOADed to
return uid=0. I expect either it exists also on rpm systems or you can get
it somewhere
>
> Jürgen
>
> --
> -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
> Dr. Jürgen Vigna E-Mail: [EMAIL PROTECTED]
> Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253
> I-39100 Bozen Web: http://www.sad.it/~jug
> -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
>
> Someone is unenthusiastic about your work.
--
Yves