Sorry for messing up that thread but I didn't reply to all.
Axel Braun
Am Sonntag, 26. Juli 2015, 11:50:38 schrieben Sie:
Axel Braun
writes: I think BuildRequires: lua <=5.2 and similar should work
This was also my first approach. It fails because in Factory the lua package is only available in version 5.3.
Valid reason :-) Did you try to branch lua 5.2 into your project? The build should pick this up then. Probably not the most advanced solution, but should work Isn't that the same/similar as calling osc meta -e prj and adding such lines as <path project="devel:languages:lua" repository="openSUSE_13.2"/> ?
You may need to distinguish by Version, e.g.: %if 0%{?suse_version} > 1320 # what happens here? %endif
I have also to distinguish between Tumbleweed and Factory. I found no suse_version for them.
I dont know thenm by head either :-) Does echo {?suse_version} or similar work? echo %{?suse_version} works but Tumbleweed and Factory have version 1321.
-- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org