Ilya Chernykh
It seems Leap lacks a lot of libraries that Factory/Thumbleweed has. Many packages fail to beild because of this, because they have in in Build Requires. The situation is not going to change in future versions. Is there a way to make a check if the distro is leap or Thumbleweed in the spec file?
------- Пересылаемое сообщение -------
От: "Andrei Borzenkov"
%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 -- Best regards, Dmitriy DA(P).DarkneSS Perlow @ Linux x64 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org