Re: Need comments about -jdbc packaging

From: Devrim GÜNDÜZ <devrim(at)gunduz(dot)org>
To: John Harvey <john(dot)harvey(at)crunchydata(dot)com>
Cc: pgsql-pkg-yum <pgsql-pkg-yum(at)postgresql(dot)org>
Subject: Re: Need comments about -jdbc packaging
Date: 2016-02-17 07:21:57
Message-ID: 1455693717.7610.9.camel@gunduz.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-yum


Hi,

On Thu, 2016-02-11 at 09:43 -0500, John Harvey wrote:

> The below block doesn't work for me on EL-7:
>
> %if 0%{?rhel} && 0%{?rhel} <= 6
> # On RHEL 6, we depend on the apache-maven package that we provide via
> # our repo. Build servers should not have any other apache-maven package
> # from other repos, because they depend on java-1.7.0, which is not
> supported by pgjdbc.
> # Please note that we don't support RHEL 5 for this package.
> BuildRequires:  apache-maven
> %else
> # On the remaining distros, use the maven package supplied by OS.
> BuildRequires:  maven
> %endif
>
> error: Failed build dependencies:
> maven
>
> I think the BuildRequires: apache-maven line should apply to EL-6 and
> EL-7.  Otherwise, I do not know where to get this dependency for EL-7.

Actually this is ok. I think maven is a part of CentOS 7, AFAICS.

The current spec in git can be compiled on all distros, after the fixes you
suggested.

Regards,

--
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR

In response to

Browse pgsql-pkg-yum by date

  From Date Subject
Next Message Devrim GÜNDÜZ 2016-02-17 07:22:32 Re: Need comments about -jdbc packaging
Previous Message Devrim GÜNDÜZ 2016-02-17 07:20:07 Re: Need comments about -jdbc packaging