On Monday 27 of October 2008 12:45:50 Stefan Dirsch wrote:
Hi Hi Stefan,
I'm wondering how to set the javac target in a specfile.
[...] ERROR: the files above contain java bytecode for something later than java 1.5, ERROR: please set the javac target to 1.5 or lower.
BTW, the error message contradicts itself ("later" means "lower" version number?).
--> /usr/lib/rpm/brp-check-bytecode-version
How to reproduce:
You have two possibilities: Type export NO_BRP_CHECK_BYTECODE_VERSION="true" somewhere in %install section. This turn off that test. Use ant -Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5 ... Michal Vyskocil -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org