26 Jul
2015
26 Jul
'15
12:37
marguerite writes:
%define lua53_ready %(cat /etc/os-release | grep XXX | sed 's/XXX/YYY/') It seems that /etc/os-release does not exist. I chrooted with osc chroot openSUSE_Tumbleweed x86_64 and didn't find the file.
%if %{?suse_version} > 1320 %if %{?lua53_ready} >= 20150723 BuildRequires: lua52-devel %else BuildRequires: lua-devel %endif I tried something similar: %define luaversion %(lua -e 'print(_VERSION)' | cut -d ' ' -f 2) but the problems seems to be the limited expansion of macros in OBS in case of build requirements. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org