provide 'pgjdbc' and 'postgresql.jar'

THANKS msimacek

Version: 42.2.2-3
This commit is contained in:
Pavel Raiskup 2018-04-20 12:06:00 +02:00
parent cb53147395
commit 70fa2e8fe5

View File

@ -45,11 +45,12 @@
Summary: JDBC driver for PostgreSQL Summary: JDBC driver for PostgreSQL
Name: postgresql-jdbc Name: postgresql-jdbc
Version: 42.2.2 Version: 42.2.2
Release: 2%{?dist} Release: 3%{?dist}
License: BSD License: BSD
URL: http://jdbc.postgresql.org/ URL: http://jdbc.postgresql.org/
Source0: https://github.com/pgjdbc/pgjdbc/archive/REL%{version}/pgjdbc-REL%{version}.tar.gz Source0: https://github.com/pgjdbc/pgjdbc/archive/REL%{version}/pgjdbc-REL%{version}.tar.gz
Provides: pgjdbc = %version-%release
# Upstream moved parent pom.xml into separate project (even though there is only # Upstream moved parent pom.xml into separate project (even though there is only
# one dependant project on it?). Let's try to not complicate packaging by # one dependant project on it?). Let's try to not complicate packaging by
@ -123,7 +124,7 @@ find -name "*.jar" -or -name "*.class" | xargs rm -f
# compat symlink: requested by dtardon (libreoffice), reverts part of # compat symlink: requested by dtardon (libreoffice), reverts part of
# 0af97ce32de877 commit. # 0af97ce32de877 commit.
%mvn_file org.postgresql:postgresql %{name}/postgresql %{name} %mvn_file org.postgresql:postgresql %{name}/postgresql %{name} postgresql
# Parent POMs should be installed in a separate subpackage. # Parent POMs should be installed in a separate subpackage.
%mvn_package ":*{parent,versions,prevjre}*" parent-poms %mvn_package ":*{parent,versions,prevjre}*" parent-poms
@ -192,6 +193,9 @@ opts="-f"
%changelog %changelog
* Fri Apr 20 2018 Pavel Raiskup <praiskup@redhat.com> - 42.2.2-3
- provide postgresql.jar, as that's the upstream's artifactId
* Fri Apr 13 2018 Pavel Raiskup <praiskup@redhat.com> - 42.2.2-2 * Fri Apr 13 2018 Pavel Raiskup <praiskup@redhat.com> - 42.2.2-2
- BR postgresql-test-rpm-macros - BR postgresql-test-rpm-macros