Mailinglist Archive: opensuse-buildservice (239 mails)

< Previous Next >
Re: [opensuse-buildservice] Installing RPMs during %prep phase of a RPM building
  • From: Marcus Rueckert <darix@xxxxxxxxx>
  • Date: Thu, 8 May 2008 14:52:12 +0200
  • Message-id: <20080508125212.GP4336@xxxxxxxxxxxxxxxxxxxxxxx>
On 2008-05-08 14:37:08 +0200, G. Massera wrote:
Hello everybody,
I need to install a RPM while I'm build an RPM ... or in other words, I
want to write into the .spec:

%prec
rpm -Uvh aStrangePackage.rpm

But I'll give an error because I don't have root privilegies and rpm
installation fails.
How can I do that ???

this is expected. we dont allow building as root user.
1. use buildrequires if needed.
2. what project/package is this?

darix

--
openSUSE - SUSE Linux is my linux
openSUSE is good for you
www.opensuse.org
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References