Mailinglist Archive: opensuse-packaging (104 mails)

< Previous Next >
Re: [opensuse-packaging] SLE_15 vs SLE_15_backports
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@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups