8 Nov
2015
8 Nov
'15
08:40
Am 07.11.2015 um 16:31 schrieb Ilya Chernykh:
Is there a way to make a check if the distro is leap or Thumbleweed in the spec file?
%if 0%{?suse_version} == 1315 %if 0%{?is_opensuse} echo this is LEAP %else echo this is SLES12 %fi %if 0%{?suse_version} >= 1320 echo this is tumbleweed %fi Yes, it's ridiculous, but that's what happens when nobody thinks of consequences :-) -- Stefan Seyfried "For a successful technology, reality must take precedence over public relations, for nature cannot be fooled." -- Richard Feynman -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org