Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aMd4H-0002Aj-H2 for pgsql-jdbc@arkaria.postgresql.org; Fri, 22 Jan 2016 14:52:05 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aMd4G-0002gs-UJ for pgsql-jdbc@arkaria.postgresql.org; Fri, 22 Jan 2016 14:52:04 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aMd4G-0002dU-1n for pgsql-jdbc@postgresql.org; Fri, 22 Jan 2016 14:52:04 +0000 Received: from mx1.redhat.com ([209.132.183.28]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aMd47-0005at-MX for pgsql-jdbc@postgresql.org; Fri, 22 Jan 2016 14:52:02 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id B3A941A6691; Fri, 22 Jan 2016 14:51:53 +0000 (UTC) Received: from nb.usersys.redhat.com (unused-4-197.brq.redhat.com [10.34.4.197]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u0MEpp2h012431 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 22 Jan 2016 09:51:53 -0500 From: Pavel Raiskup To: Vladimir Sitnikov Cc: Dave Cramer , List Subject: Re: Wrong link not pointing to the release tarball Date: Fri, 22 Jan 2016 15:51:51 +0100 Message-ID: <9099521.fZ8oo5KGyP@nb.usersys.redhat.com> User-Agent: KMail/4.14.10 (Linux/4.3.3-300.fc23.x86_64; KDE/4.14.14; x86_64; ; ) In-Reply-To: References: <5479464.pnS2mdyLUu@nb.usersys.redhat.com> <6969719.QvIWtecCdQ@nb.usersys.redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-Pg-Spam-Score: -6.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 On Friday 22 of January 2016 17:30:59 Vladimir Sitnikov wrote: > >[1] http://pkgs.fedoraproject.org/cgit/rpms/postgresql-jdbc.git/tree/postgresql-jdbc.spec > > >37: Version: 9.4.%{upstreamrel} > > It should be %{upstreamver}, shouldn't it? There used to be typo -- dot vs. dash, in RPM world, you can not have dash within "Release" tag. You have *strict* NAME-VERSION-RELEASE, while the only component which can contain dash is NAME. Based on this principle is built most of the stuff in RPM distributions. Can here > ># ASL 2.0 applies only to postgresql-jdbc.pom file, the rest is BSD > >License: BSD and ASL 2.0 > > That is strange. Which "postgresql-jdbc.pom" is referred to here? That one which lies right along the spec file I pointed you at. That pom file was created in Y2009 by Tom Lane, because we needed to have "some" pom file (at least as far as I understand, I'm not package that long ;)). We do not change things if that is not necessary, so there we are... > > 57: BuildRequires: ant > > 58: BuildRequires: ant-junit > > I do not think we require ant. We (Fedora) still do. There are hacks even in the '*.spec' file to make the package built .. unfortunately. We were not able to build with maven, and other distros seem to be even behind use. > >85: find -name "*.jar" -or -name "*.class" | xargs rm -f > > We have *.class files for a good reason: they include gettext translations. > If you absolutely require to kill that, you need to add "mvn > -Ptranslate compile" step to perform "gettext" step. > However, that would void "built from the same git source" statement. This needs to be done, really. That is for our users -- we can prove them that no precompiled code is used, because that is very often issue of Java package upstreams. I would reconsider the need of *any* pre-build files within _source_ tarball -- because precompiled java files are not sources anymore. > >111: ln -s postgresql-jdbc.jar postgresql-jdbc2.jar > > That is somewhat risky, since the new jar is not usable for old JRE. > In other words, if a software exists that uses Java 5 and jdbc2.jar, > then newly build jar is not compatible with it. > > In order to build jre7, and jre6-compatible jars, separate build steps > should be used. > We have https://github.com/pgjdbc/pgjdbc-jre7 & jre6 for that. Argh, OK. I do not see that deep to see the runtime differences -- but I bet we should remove the compatibility symlinks, right? As nobody complained so far I bet nobody uses them. Vladmir, thanks for the review. I do not object, its far from perfect -- it worked with very old release tarball; and we are off topic. I've seen Dave fixed the link, so I bet you'll keep that format in future releases too, which is *perfect*. Thanks guys, Pavel -- Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc