Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aGZez-00036t-SE for pgsql-jdbc@arkaria.postgresql.org; Tue, 05 Jan 2016 22:00:57 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aGZez-0008VR-68 for pgsql-jdbc@arkaria.postgresql.org; Tue, 05 Jan 2016 22:00:57 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aGZey-0008V2-KJ for pgsql-jdbc@postgresql.org; Tue, 05 Jan 2016 22:00:56 +0000 Received: from ns3.gunduz.org ([107.170.88.27] helo=ns1.gunduz.org) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aGZeu-0004v0-Iq for pgsql-jdbc@postgresql.org; Tue, 05 Jan 2016 22:00:56 +0000 Received: from asus-laptop-03.gunduz.org (unknown [85.99.241.196]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ns1.gunduz.org (Postfix) with ESMTPSA id 8E7554040C; Tue, 5 Jan 2016 22:00:49 +0000 (UTC) Message-ID: <1452031245.8584.57.camel@gunduz.org> Subject: Re: Are pgrpm changes for JDBC discussed here before submission? From: Devrim =?ISO-8859-1?Q?G=DCND=DCZ?= To: John Harvey Cc: List Date: Wed, 06 Jan 2016 00:00:45 +0200 In-Reply-To: References: <9EE6C433-6AC1-47FB-91E0-C4FDC341180C@gunduz.org> <8A98F75A-81D5-447D-8EC4-52A40ED30B74@gunduz.org> <13052901-09F5-4D77-80F2-09FF18B83FBD@gmail.com> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-mgws/ycChc7mLj0MrSMm" X-Mailer: Evolution 3.18.3 (3.18.3-1.fc23) Mime-Version: 1.0 X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org --=-mgws/ycChc7mLj0MrSMm Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi John, Thank you *very* much for this work. I built binaries for 9.5 repository, and I =C2=A0will be push them along with PostgreSQL 9.5.0. I had to edit EL-6 spec file a bit, as it does not have some macros. Also, I added apache-maven spec file to our repo, along with the RPMS for EL-6. The reason is that apache-maven in the repo you mentioned depends on JDK 1.7.0, but JDBC driver needs 1.8.0. So, I rebuilt our own RPMS (that was really easy) and added to repo. Thanks again, you saved great time! Once the 9.5 dust settles down, I'll built 9.4 and others, too. Regards, Devrim On Tue, 2016-01-05 at 11:19 -0500, John Harvey wrote: > Hey folks, >=20 > Thanks for the suggestions! > I was able to get around it with the following: >=20 > yum -y install java-1.8.0-openjdk-devel > wget > http://repos.fedorapeople.org/repos/dchen/apache-maven/epel-apache-ma > ven.repo > -O /etc/yum.repos.d/epel-apache-maven.repo > yum -y install apache-maven > yum -y install jpackage-utils java-headless >=20 > # For my RHEL7 build: > export JAVA_HOME=3D/usr/lib/jvm/java-1.8.0-openjdk.x86_64/jre >=20 > And then in the spec file, I use: > mvn -DskipTests -P release-artifacts clean package >=20 > It seems to work. >=20 > I know that with the new 9.5.0 postgresql release in progress things > are > busy for the pgrpm's team, so I'm not sure if/when this patch would > go in. >=20 > Regards, > =C2=A0 -John >=20 > On Tue, Jan 5, 2016 at 10:27 AM, Vladimir Sitnikov < > sitnikov.vladimir@gmail.com> wrote: >=20 > > I think Github tarballs are fine. > > Tags with REL${version} are going to be the release tags. > >=20 > > To trigger toolchain usage (and disable enforcer at the same time), > > you need to use `mvn package -Prelease` command. > > However, it might be better to create -Pactivate-toolchains to make > > that explicit. > >=20 > > Sample toolchains.xml file can be found in the source root of > > pgjdbc > > project. > > You might want to add -DskipTests, otherwise you need to have a > > running PostgreSQL instance to execute the tests. > >=20 > > Vladimir > >=20 --=20 Devrim G=C3=9CND=C3=9CZ Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com PostgreSQL Dan=C4=B1=C5=9Fman=C4=B1/Consultant, Red Hat Certified Engineer Twitter: @DevrimGunduz , @DevrimGunduzTR --=-mgws/ycChc7mLj0MrSMm Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJWjD0NAAoJENjDPf6Sz261iD8P/jKuJUnumRpPBqyz/IYfGEEo M/mhaCMI3NQeGbWSfzu/LdyZnFAAXOhNhAbpmWjISHb6DLJ9aIPle3t6VjC5fYni jsa3heZPda8ZVUL6zKJP27M7zS3wmOhKUmpBvnvXq3cQKvJ9gKSEXKsw0eQ7YuUm 4EXjnNM1iJFcZT2fjMVnJS7vRr6btTv+lbFZoiQLCsds0Jgm2DVhu0LP5CgBt28l FLEGDOYT5QHoEDqQE7MINnTVyM8C5ryzSPSVAVX+lfoc/D5AaNxeuR8WgyvH+3J6 begk9aG1YgOkCaga3/JePkF+tSaQ/1sLj2FrDIk3U3MJtloFWgsf0pRXs3IbSOIU lqeyOBj4HZApqMUaRZxzJvXV1yVns+MOZMJtE4PTFxBeQ/8HbzOvp7DQOziQfnHZ z6joiyajc8VSz9K9miROLMSVuQWImVnhQt9HgFa3vVoMqdSZ77y4Z8dJmmirQQiq DcMQHYtuihY4OK0Tkn4JHsHny9Rna5O/3+psrGNa5E2bHe1iz1xarPdV0bmVW+6Z TnDGcwg1WdDIgIU3u22TOOgUnYY5oPNHYXqPra0lAwrpELCwBDudg6lUCXZ2qQzC 4N+wzb+WwXCXJy1PZZw0G2iChTgORQ0adrZpKhElXWMDemBfvzQIubvGtOCkmwO4 Hd6kv9/yVcf6EKxSsJkr =bYl6 -----END PGP SIGNATURE----- --=-mgws/ycChc7mLj0MrSMm--