27 Jul
2015
27 Jul
'15
17:42
On Mon, 27 Jul 2015 18:12:39 +0200, Stephan Kulow wrote:
Am 27.07.2015 um 18:08 schrieb Takashi Iwai:
OK, thanks. It's certainly messy, but should work... Yep, possibly we also define a more specific macros that you can use to avoid big ifs? Like %require_distro perhaps?
Well, my initial thought was a macro like %os_leap_version, e.g. can be used like: %if 0{%?suse_version} >= 1320 || 0{%?os_leap_version} >= 4201 BuildRequires: newpkg-devel %else BuildRequires: oldpkg %endif Takashi -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org