I got:
expansion error nothing provides java-devel >= 1.5
Below is SPEC header:
Name: codesounding
Version: 1.4
Release: 1
License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Autoreqprov: on
BuildRequires: unzip
BuildRequires: update-alternatives
BuildRequires: java-devel >= 1.5
BuildRequires: ant
Requires: java >= 1.5.0
BuildArch: noarch
Group: Dummy
Summary: My Dummy Package
URL: http://www.codesounding.org
Source0: %{name}%{version}_src.zip
Maybe must I delete the update-alternatives row?
On Mon, Mar 17, 2008 at 2:48 PM, Thomas Schmidt
Roberto Mannai schrieb:
Hi all I'm new to the Build Service, and fast I'm getting crazy :) My project must be compiled with a JVM >= 1.5, but I cannot guess how to label the required package:
BuildRequires: java-1_5_0-gcj-compat-devel ? BuildRequires: java-1_5_0-sun-devel ?
There is a macro which expands to the best package per system:
BuildRequires: java-devel >= 1.5
Greetings
If I understood well, the package name depends on the target system (openSUSE_10.3 packages are different than openSUSE_Factory ones). java-1_5_0-sun-devel on openSuse10.3 does not work anymore.
Any help is very welcome :) Ciao rob --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
-- Thomas Schmidt (tschmidt [at] suse.de) SUSE Linux Products GmbH :: Research & Development :: Internal Tools "Don't Panic", Douglas Adams (1952 - 11.05.2001)
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org