Project

General

Profile

Bug #9001

Updated by Janos Mattyasovszky over 7 years ago

As of SLES12 SP1 (presumably), the SPEC File's @%{sles_version}@ %{sles_version} is obsoleted in favor of the all-present @%{suse_release}@. %{suse_release}. 
 Since the macro is only used to determine if it's SLES or not, and not to determine anything version-related, replacing it will not cause any issues. 

 <pre> 
 - %if 0%{?sles_version} 
 + %if 0%{?suse_version} 
 </pre>

Back