Mailinglist Archive: opensuse-buildservice (233 mails)

< Previous Next >
Re: [opensuse-buildservice] BuildRequires and Requires handling in OBS (was: [opensuse-packaging] automatic backporting of Factory packages)
  • From: Stanislav Brabec <sbrabec@xxxxxxx>
  • Date: Thu, 31 May 2007 11:50:27 +0200
  • Message-id: <1180605027.15332.72.camel@xxxxxxxxxxxxxx>
Michael Schroeder wrote:
> On Wed, May 30, 2007 at 04:51:36PM +0200, Pavol Rusnak wrote:
> > What about Requires? Any news on this issue? It would be really great if
> > BuildService took care of both BuildRequires and Requires changes.
> 
> Maybe, but I'm not sure if I can use the "Substitute" mechanism for
> this. Substitute is not only used for renames, it is also often used
> to add packages to the BuildRequires. It might be wrong to also
> add those packages to "Requires".

If the package name is listed in Requires of particular package and is
also part of Substitute as left side, it is nearly sure, that package
will break dependent builds.

If you replace Requires item from the left side of Substitute by the
right side, you may introduce unneeded dependencies, but package will
not require additional hacks and will not break anything.

So I think its better to replace. Otherwise I have to clone your BS
scripts by backport-factory, which does the same, but with Requires.

-- 
Best Regards / S pozdravem,

Stanislav Brabec
software developer
---------------------------------------------------------------------
SUSE LINUX, s. r. o.                          e-mail: sbrabec@xxxxxxx
Lihovarsk√° 1060/12                            tel: +420 284 028 966
190 00 Praha 9                                fax: +420 284 028 951
Czech Republic                                http://www.suse.cz/

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

< Previous Next >