Hello community,

here is the log from the commit of package unixODBC for openSUSE:Factory 
checked in at 2020-09-25 16:21:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/unixODBC (Old)
 and      /work/SRC/openSUSE:Factory/.unixODBC.new.4249 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "unixODBC"

Fri Sep 25 16:21:13 2020 rev:38 rq:836234 version:2.3.9

Changes:
--------
--- /work/SRC/openSUSE:Factory/unixODBC/unixODBC.changes        2020-09-14 
12:01:19.951502800 +0200
+++ /work/SRC/openSUSE:Factory/.unixODBC.new.4249/unixODBC.changes      
2020-09-25 16:21:37.183363645 +0200
@@ -1,0 +2,13 @@
+Tue Sep 22 20:27:56 UTC 2020 - Jan Engelhardt <[email protected]>
+
+- Update requires and baselibs for new libodbc2.
+
+-------------------------------------------------------------------
+Wed Sep 16 10:47:31 UTC 2020 - Jan Engelhardt <[email protected]>
+
+- Employ shared library packaging guideline: new subpacakge
+  libodbc2. mariadb's ha_connect.so wants this library, but a
+  unixODBC's Recommends line would awkwardly pull in psqlODBC
+  by default.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ unixODBC.spec ++++++
--- /var/tmp/diff_new_pack.5JyRpi/_old  2020-09-25 16:21:37.863364246 +0200
+++ /var/tmp/diff_new_pack.5JyRpi/_new  2020-09-25 16:21:37.863364246 +0200
@@ -41,10 +41,19 @@
 # bsc#1062860: to stay feature complete
 Recommends:     psqlODBC
 
+%package -n libodbc2
+Summary:        Open Database Connectivity API
+Group:          System/Libraries
+
+%description -n libodbc2
+ODBC is an API that abstracts the access to different database
+management systems.
+
 %package devel
 Summary:        Includes for ODBC Development
 Group:          Development/Libraries/C and C++
 Requires:       %{name} = %{version}
+Requires:       libodbc2 = %{version}
 Conflicts:      libiodbc-devel
 
 %description
@@ -80,7 +89,7 @@
     --enable-driverc \
     --enable-drivers \
     --enable-driver-conf
-make %{?_smp_mflags}
+%make_build
 
 %install
 install -d -m 755 "%{buildroot}/%{_sysconfdir}/%{name}"
@@ -94,8 +103,8 @@
 # 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
+%post   -n libodbc2 -p /sbin/ldconfig
+%postun -n libodbc2 -p /sbin/ldconfig
 
 %files
 %license COPYING
@@ -120,14 +129,16 @@
 %{_bindir}/odbcinst
 %{_bindir}/odbc_config
 %{_bindir}/slencheck
-%{_libdir}/libodbc.so.*
-%{_libdir}/libodbcinst.so.*
-%{_libdir}/libodbccr.so.*
 %{_libdir}/libodbc.so
 %{_libdir}/libodbcinst.so
 %{_libdir}/libodbccr.so
 %{_libdir}/%{name}
 
+%files -n libodbc2
+%{_libdir}/libodbc.so.*
+%{_libdir}/libodbcinst.so.*
+%{_libdir}/libodbccr.so.*
+
 # All .so files are in the main package as many ext apps
 # dlopen those so you need these on regular package.
 %files devel

++++++ baselibs.conf ++++++
--- /var/tmp/diff_new_pack.5JyRpi/_old  2020-09-25 16:21:37.895364275 +0200
+++ /var/tmp/diff_new_pack.5JyRpi/_new  2020-09-25 16:21:37.895364275 +0200
@@ -1,3 +1,5 @@
 unixODBC
 unixODBC-devel
   requires "unixODBC-<targettype> = <version>"
+  requires "libodbc2-<targettype> = <version>"
+libodbc2


Reply via email to