On Sat, 07 Nov 2015 08:46:15 +0100, Dave Plater wrote:
On 06/11/2015 14:34, Andrei Borzenkov wrote:
On Fri, Nov 6, 2015 at 3:24 PM, Dave Plater
wrote: %is_opensuse is new to me but it evaluates to 1 on my leap system. To be safe I'm using: %if 0%{?suse_version} > 1320 || 0%{?BUILD_ORIG} == 1 || 0%{?suse_version} == 1315
This will match both SLES and Leap. If you really want to match Leap only, you need
suse_version == 1315 && is_opensuse == 1
It's for blender to build in both Packman and in openSUSE with two different ffmpeg flavors. ffmpeg isn't in 13.2, only Leap Tumbleweed and up. So is_opensuse 0 can be used to detect SLES?
In your case, it'd be like: %if 0%{?suse_version} > 1320 || 0%{?BUILD_ORIG} == 1 || \ (0{%suse_version} == 1315 && 0%{?is_opensuse} == 1) Takashi -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org