Mailinglist Archive: opensuse-buildservice (339 mails)

< Previous Next >
Re: [opensuse-buildservice] java version: which BuildRequires?
  • From: Thomas Schmidt <tschmidt@xxxxxxx>
  • Date: Mon, 17 Mar 2008 15:35:48 +0100
  • Message-id: <47DE81C4.4010806@xxxxxxx>
Roberto Mannai schrieb:
Thank you, now I've just scheduled a new build in a
openSUSE:10.3:NonFree/standard repository.

Generally speaking, how could you know the available packages names
into a build repository ? I would guess, for example, that a search
for "java-1_5_0" into webpin, having checked the "Suse Factory"
radiobutton, should return the same packages I would expect as
available into the "openSUSE:Factory/standard" BuildService repository
(http://packages.opensuse-community.org/index.jsp?distro=SUSE_Factory&searchTerm=java-1_5_0).
Is this assumption correct?

Yes, I think so, but webpin seems only to search in the package name and
description,
so you can not find all the packages that have a
Provides: java-devel = 1.5
for example.

The only way I know to get a list of packages with a certain provides is for
example:
zgrep java-devel /path/to/primary.xml.gz

Anyone knows a better way?
Greetings




On Mon, Mar 17, 2008 at 3:02 PM, Thomas Schmidt <tschmidt@xxxxxxx> wrote:
Roberto Mannai schrieb:

I got:
> expansion error nothing provides java-devel >= 1.5

This is because openSUSE 10.3 only has gcj for java 1.4 in the OSS tree.
You should use: openSUSE:10.3:NonFree/standard to be able to build java 1.5
code for 10.3.

Greetings



>
> 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 <tschmidt@xxxxxxx> wrote:
>> 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@xxxxxxxxxxxx
>> > For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx
>> >
>>
>>
>> --
>> 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@xxxxxxxxxxxx
> For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx
>


--
Thomas Schmidt (tschmidt [at] suse.de)
SUSE Linux Products GmbH :: Research & Development :: Internal Tools
"Don't Panic", Douglas Adams (1952 - 11.05.2001)



--
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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups