Hi, 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 %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#Dete...
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?
Yes.
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. Regards, ismail -- SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)