From 1b7d8b4f5988b7435c2674f510a4cad108d604de Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Wed, 20 Jul 2016 13:32:42 +0200 Subject: [PATCH] compat: restore postgresql-jdbc.jar symlink Requested by dtardon, reverts part of 0af97ce32de877c. Related: rhbz#1217395 Version: 9.4.1209-4 --- postgresql-jdbc.spec | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/postgresql-jdbc.spec b/postgresql-jdbc.spec index 35de923..a4df740 100644 --- a/postgresql-jdbc.spec +++ b/postgresql-jdbc.spec @@ -47,7 +47,7 @@ Summary: JDBC driver for PostgreSQL Name: postgresql-jdbc Version: %upstreammajor.%{upstreamrel} -Release: 3%{?dist} +Release: 4%{?dist} # ASL 2.0 applies only to postgresql-jdbc.pom file, the rest is BSD License: BSD and ASL 2.0 Group: Applications/Databases @@ -172,6 +172,12 @@ pgtests_start %install %mvn_install +pushd $RPM_BUILD_ROOT%{_javadir} +# compat symlink: requested by dtardon (libreoffice), reverts part of +# 0af97ce32de877 commit. +ln -s %{name}/postgresql.jar postgresql-jdbc.jar +popd + %check @@ -179,6 +185,7 @@ pgtests_start %files -f .mfiles %license LICENSE %doc README.md +%{_javadir}/%{name}.jar %files parent-poms -f .mfiles-parent-poms @@ -188,6 +195,9 @@ pgtests_start %changelog +* Wed Jul 20 2016 Pavel Raiskup - 9.4.1209-4 +- restore one compat symlink + * Wed Jul 20 2016 Pavel Raiskup - 9.4.1209-3 - bump: for Mikolaj's fixes