compat: restore postgresql-jdbc.jar symlink

Requested by dtardon, reverts part of 0af97ce32d.

Related: rhbz#1217395
Version: 9.4.1209-4
This commit is contained in:
Pavel Raiskup 2016-07-20 13:32:42 +02:00
parent 79d208d5c8
commit 1b7d8b4f59

View File

@ -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 <praiskup@redhat.com> - 9.4.1209-4
- restore one compat symlink
* Wed Jul 20 2016 Pavel Raiskup <praiskup@redhat.com> - 9.4.1209-3
- bump: for Mikolaj's fixes