Mailinglist Archive: opensuse-packaging (83 mails)

< Previous Next >
[opensuse-packaging] How to set javac target ?
  • From: Stefan Dirsch <sndirsch@xxxxxxx>
  • Date: Mon, 27 Oct 2008 12:45:50 +0100
  • Message-id: <20081027114550.GA29182@xxxxxxx>

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:

osc co home:sndirsch geotag
cd home:sndirsch/geotag
env -u BUILD_DIST osc build

Best regards,

Public Key available
Stefan Dirsch (Res. & Dev.) SUSE LINUX Products GmbH
Tel: 0911-740 53 0 Maxfeldstraße 5
FAX: 0911-740 53 479 D-90409 Nürnberg Germany
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >