Mailinglist Archive: opensuse-buildservice (239 mails)

< Previous Next >
Re: [opensuse-buildservice] Installing RPMs during %prep phase ofa RPM building
  • From: "Dominique Leuenberger" <Dominique.Leuenberger@xxxxxxxxxxxxx>
  • Date: Thu, 08 May 2008 15:13:44 +0200
  • Message-id: <482326B8.2554.0029.1@xxxxxxxxxxxxx>
On 08.05.2008 at 16:09, "G. Massera" <gmassera@xxxxxxxxxxx> wrote:
I know how to use BuildRequires... but the problem is that BuildRequires
search on standard repositories for the distribution.
But I need to install an RPM that it is in a third-party repository...
so, I have only to solution:
1- adding this external repository (but I supposed that virtual machine
where build is done has not access to internet)
2- adding the RPM to source files and installing it in the %prec phase

I don't want download the source package and add another .spec for build
the application into my home project and then use BuildRequires...
because I need this RPM only for one for the distribution that I support.

I think nevertheless it's the best approach, to go for a 2nd package for this
dependency in this case. Somebody might as well download once the src.rpm
(which is also published by the OBS) and try to compile it on another system.
You will most likely put that person in a lot of trouble and non working builds.


To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >