Fdd FreeTDS support
- provide libtdsS.so in the main package - add tds config to odbcinst.ini Resolves: rhbz#1448890 Version: 2.3.4-8
This commit is contained in:
parent
f5172ed969
commit
d93e3b36ab
11
odbcinst.ini
11
odbcinst.ini
@ -20,3 +20,14 @@ Setup = /usr/lib/libodbcmyS.so
|
||||
Driver64 = /usr/lib64/libmyodbc5.so
|
||||
Setup64 = /usr/lib64/libodbcmyS.so
|
||||
FileUsage = 1
|
||||
|
||||
|
||||
# Driver from the freetds-libs package
|
||||
# Setup from the unixODBC package
|
||||
[FreeTDS]
|
||||
Description = Free Sybase & MS SQL Driver
|
||||
Driver = /usr/lib/libtdsodbc.so
|
||||
Setup = /usr/lib/libtdsS.so
|
||||
Driver64 = /usr/lib64/libtdsodbc.so
|
||||
Setup64 = /usr/lib64/libtdsS.so
|
||||
Port = 1433
|
||||
|
@ -1,7 +1,7 @@
|
||||
Summary: A complete ODBC driver manager for Linux
|
||||
Name: unixODBC
|
||||
Version: 2.3.4
|
||||
Release: 7%{?dist}
|
||||
Release: 8%{?dist}
|
||||
Group: System Environment/Libraries
|
||||
URL: http://www.unixODBC.org/
|
||||
# Programs are GPL, libraries are LGPL, except News Server library is GPL.
|
||||
@ -108,7 +108,7 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.so.*" | sed "s|^$RPM_BUILD_ROOT||" > bas
|
||||
find $RPM_BUILD_ROOT%{_libdir} -name "*.so" | sed "s|^$RPM_BUILD_ROOT||" > devel-so-list
|
||||
|
||||
# move these to main package, they're often dlopened...
|
||||
for lib in libodbc.so libodbcinst.so libodbcpsqlS.so libodbcmyS.so
|
||||
for lib in libodbc.so libodbcinst.so libodbcpsqlS.so libodbcmyS.so libtdsS.so
|
||||
do
|
||||
echo "%{_libdir}/$lib" >> base-so-list
|
||||
grep -v "/$lib$" devel-so-list > devel-so-list.x
|
||||
@ -134,6 +134,10 @@ done
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%changelog
|
||||
* Wed Aug 30 2017 Tomas Repik <trepik@redhat.com> - 2.3.4-8
|
||||
- move libtdsS.so to the main package and add tds config to odbcinst.ini
|
||||
- rhbz#1448890
|
||||
|
||||
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.4-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user