11 Dec
2017
11 Dec
'17
11:41
On Dez 10 2017, Sebastian
%if %{with tests} %check export LANG=C.UTF-8 %ifpython2 python2 setup.py test -s test2 %endif %ifpython3 python3 setup.py test -s test3 %endif %endif
Are both %ifpython2 and %ifpython3 defined macros? If either is undefined then the rpm parser will not see the %if that is presumably supposed to be hidden behind that. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org