Mailinglist Archive: opensuse-buildservice (339 mails)

< Previous Next >
Re: [opensuse-buildservice] including Substitute: lines in project
  • From: Marc <Marc.Dietrich@xxxxxxxxxxxxxxxxxxxxxxxx>
  • Date: Tue, 11 Mar 2008 10:31:53 +0100
  • Message-id: <200803111031.53695.marc.dietrich@xxxxxxxxxxxxxxxxxxxxxxxx>


Am Dienstag 11 März 2008 09:48:41 schrieb Michal Marek:
Marc wrote:
But for me, this is only a partial fix. AFAIK, the buildconfig does not
support comparisons (==, <=, >=),

I'm almost certain it does. I used it myself some time ago:

$ osc meta prjconf home:michal-m:rpmlint
%if 0%{?suse_version} >= 1010
Support: rpmlint-bs

this test is always true when suse_version is defined, e.g. does not depend on
the comparison. So, by luck it worked for you. You can change the 1010 to
1030 and there will be no difference for 10.1 and 10.2 version.


"It is a noble cause that we defend and not particular interests."
Lord Arthur Ponsonby, "Falsehood in Wartime: Propaganda Lies
of the First
World War", 1928
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups