Mailinglist Archive: opensuse-buildservice (366 mails)

< Previous Next >
Re: [opensuse-buildservice] Problem with patching spec file: gconf2-rpm-macros and %gconf_schemas_prereq
  • From: Stanislav Brabec <sbrabec@xxxxxxx>
  • Date: Fri, 10 Aug 2007 12:21:00 +0200
  • Message-id: <1186741261.20518.69.camel@xxxxxxxxxxxxxx>
Michel Salim wrote:

> Which was the problem: the version detection, or the way I created the
> patch? Also, what does the following do:
> 
> || 0%{?opensuse_bs}

OR it is built in Build Service

> Presumably %suse_version does not work on build service, and the
> opensuse_bs is a work-around?

No. Some %if %suse_version were intended for rebuild in older
environment.

But in GNOME:UNSTABLE, where these packages reside, needed packages are
updated, so plain %if %suse_version would cause problems. So I need a
switch:

If it is an old SuSE version or the package is built in Build Service.

It is not absolutely accurate, exactly it would be:

If it is an old SuSE version or the package is built in GNOME:UNSTABLE.

But just now there is no chance to specify it.

-- 
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 >
Follow Ups
References