Re: Wrong link not pointing to the release tarball

Поиск
Список
Период
Сортировка
От Dave Cramer
Тема Re: Wrong link not pointing to the release tarball
Дата
Msg-id CADK3HHJGEeaJvcGRVKiLhparY65Bdj5cC9F-qDDZoSg3up=iiQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Wrong link not pointing to the release tarball  (Vladimir Sitnikov <sitnikov.vladimir@gmail.com>)
Список pgsql-jdbc
Ok, the link has been fixed but as Vladimir pointed out you may need other pieces to build the jar 


On 22 January 2016 at 09:30, Vladimir Sitnikov <sitnikov.vladimir@gmail.com> 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?

># 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?

> 57: BuildRequires: ant
> 58: BuildRequires: ant-junit

I do not think we require ant.

>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.

>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.

Vladimir

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Vladimir Sitnikov
Дата:
Сообщение: Re: Wrong link not pointing to the release tarball
Следующее
От: Pavel Raiskup
Дата:
Сообщение: Re: Wrong link not pointing to the release tarball