From 336b68dd55979462997b4968e16c0a4e4679f6641ce27ff43d0006f334c8f0cc Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Wed, 21 Feb 2018 13:45:38 +0000 Subject: [PATCH] - bsc#1062860: Don't install postgres example driver psqlODBC package should be used instead of the example driver provided by unixODBC (libodbcpsql.*). It is unmaintained. OBS-URL: https://build.opensuse.org/package/show/server:database/unixODBC?expand=0&rev=48 --- unixODBC.changes | 7 +++++++ unixODBC.spec | 5 ++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/unixODBC.changes b/unixODBC.changes index f5fe749..0ee9cb2 100644 --- a/unixODBC.changes +++ b/unixODBC.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Feb 21 13:34:18 UTC 2018 - mvetter@suse.com + +- bsc#1062860: Don't install postgres example driver + psqlODBC package should be used instead of the example driver + provided by unixODBC (libodbcpsql.*). It is unmaintained. + ------------------------------------------------------------------- Fri Jun 23 13:53:00 UTC 2017 - adam.majer@suse.de diff --git a/unixODBC.spec b/unixODBC.spec index b57f74a..5acc59b 100644 --- a/unixODBC.spec +++ b/unixODBC.spec @@ -1,7 +1,7 @@ # # spec file for package unixODBC # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -91,6 +91,9 @@ rm -rf "%{buildroot}/%{_datadir}/libtool" rm -f "%{buildroot}/%{_libdir}"/libmimerS.* rm -f %{buildroot}/%{_libdir}/*.la +# bsc#1062860: we want psqlODBC instead of this unmaintained example driver +rm -f "%{buildroot}/%{_libdir}"/unixODBC/libodbcpsql.* + %post -p /sbin/ldconfig %postun -p /sbin/ldconfig