[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensuse-packaging
Subject:    Re: [opensuse-packaging] SLE_15 vs SLE_15_backports
From:       Adam Majer <amajer () suse ! de>
Date:       2018-08-16 12:52:25
Message-ID: befdd6b2-4cae-b85e-53f1-488548e291c1 () suse ! de
[Download RAW message or body]

On 08/13/2018 02:08 PM, İsmail Dönmez wrote:
> On 13 Aug 13:56, Peter Czanik wrote:
> > 
> > # riemann does not compile on SLES
> > %if !0%{?is_opensuse}
> > %bcond_with     riemann
> > %else
> > %bcond_without  riemann
> > %endif
> 
> Package Hub 15 now also defines is_opensuse for various reasons, but you can
> still detect it with the is_backports variable.
> 
> Regards,
> ismail
> 


This is getting more complicated.

https://en.opensuse.org/openSUSE:Build_Service_cross_distribution_howto#Detect_a_distribution_flavor_for_special_code


This means that the openSUSE Leap 15.0 is not defined with

  %if 0%{?sle_version} == 150000 && 0%{?is_opensuse}

but requires,

  %if 0%{?sle_version} == 150000 && 0%{?is_opensuse} && !0%{is_backports}

But for Package Hub 12, is_opensuse is undefined?

And these various reasons that is_opensuse is defined for Package Hub 15
- is that to push people to submit missing bits to Package Hub 15?

- Adam
-- 
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org
To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic