Lots of details on conditionals on the cross distro howto. https://en.opensuse.org/openSUSE:Build_Service_cross_distribution_howto https://en.opensuse.org/openSUSE:Specfile_guidelines -- Later, Darin On Wed, Oct 5, 2016 at 3:54 PM, Greg Freemyer <greg.freemyer@gmail.com> wrote:
All,
What's the correct way in a spec file to write:
%if opensuse/SLE ... %if opensuse ... %if Leap 42.1 or newer (including Factory) ... %endif %endif %endig
I've written the below logic, but I don't think is_opensuse is defined in 13.1 / 13.2:
==== %if %{defined suse_version} ... %if 0%{?is_opensuse} ... %if 0%{?suse_version} == 1315 || 0%{?suse_version} > 1320 ... %endif %endif %endif =====
Thanks Greg -- Greg Freemyer Upset at the Hillary/Trump choice So are Utah voters, Evan McMullin is leading there among voters age 25-34 Vote Evan McMullin for President -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org