![](https://seccdn.libravatar.org/avatar/2f3d52f7ee9cca8029b49e42ec90577c.jpg?s=120&d=mm&r=g)
8 Jan
2016
8 Jan
'16
18:39
On 04/01/2016 08:41, Ferdinand Thiessen wrote:
Hi,
How do I require a version range? E.g. I need lua 5.2.x I tried:
BuildRequires: Lua(devel) >= 5.2, Lua(devel) < 5.3
But this will fail with a "Have choice" error, so rpm / buildservice finds lua 5.1 and lua 5.2 for BuildRequire " Lua(devel) < 5.3". So it does not combine the two statements.
Regards,
Ferdinand Have you tried #!BuildIgnore: Lua(devel) >= 5.3 BuildRequires: Lua(devel) >= 5.2 #!BuildIgnore: Lua(devel) <= 5.1 It might work, it should give you a version range of 5.2.x
Regards Dave P -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org