Mailinglist Archive: opensuse-packaging (104 mails)

< Previous Next >
Re: [opensuse-packaging] SLE_15 vs SLE_15_backports
On 16 Aug 14:52, Adam Majer wrote:
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
%bcond_without riemann

Package Hub 15 now also defines is_opensuse for various reasons, but you can
still detect it with the is_backports variable.


This is getting more complicated.

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?

No, it's to enable openSUSE specific parts in the spec files. With Package Hub
15 we took all the packages from Leap 15 so it behaves mostly like openSUSE now.


SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton,
HRB 21284 (AG Nürnberg)
< Previous Next >