Accepting request 892166 from devel:libraries:c_c++

- remove stale _service and fix Source url 

- update to 1.2.21:
  * minor bug fixes
  * Support some missing types like nullable unsigned smallint
- add baselibs.conf to allow building of i586 libraries (necessary
  to use the driver for programs running under wine)

OBS-URL: https://build.opensuse.org/request/show/892166
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/freetds?expand=0&rev=32
This commit is contained in:
Dominique Leuenberger 2021-05-13 20:18:05 +00:00 committed by Git OBS Bridge
commit 79cb51557d
5 changed files with 27 additions and 8 deletions

2
baselibs.conf Normal file
View File

@ -0,0 +1,2 @@
libtdsodbc0
libsybdb5

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a02c27802da15a3ade85bbaab6197713cd286f036409af9bba2ab4c63bdf57c3
size 3052669

3
freetds-1.2.21.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6d70c87eb4f5f2d27b5c812d515befd6b17b8aaa5355eb7cd6210c00f61f7190
size 3052794

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Tue May 11 07:04:07 UTC 2021 - Dirk Müller <dmueller@suse.com>
- remove stale _service and fix Source url
-------------------------------------------------------------------
Sun May 09 18:28:41 UTC 2021 - brassh@web.de
- update to 1.2.21:
* minor bug fixes
* Support some missing types like nullable unsigned smallint
- add baselibs.conf to allow building of i586 libraries (necessary
to use the driver for programs running under wine)
-------------------------------------------------------------------
Sun Jan 24 18:53:45 UTC 2021 - Dirk Müller <dmueller@suse.com>

View File

@ -17,12 +17,13 @@
Name: freetds
Version: 1.2.18
Version: 1.2.21
Release: 0
Summary: A free re-implementation of the TDS (Tabular Data Stream) protocol
License: LGPL-2.1-or-later AND GPL-2.0-or-later
License: GPL-2.0-or-later AND LGPL-2.1-or-later
URL: https://www.freetds.org/
Source: https://www.freetds.org/files/stable/freetds-1.2.18.tar.gz
Source: https://www.freetds.org/files/stable/freetds-%{version}.tar.gz
Source1: baselibs.conf
Patch0: configure-return-void-fix.patch
BuildRequires: fdupes
BuildRequires: gcc-c++
@ -58,7 +59,7 @@ them.
%package tools
Summary: Applications for working with the TDS (Tabular Data Stream) protocol
License: LGPL-2.1-or-later AND GPL-2.0-or-later
License: GPL-2.0-or-later AND LGPL-2.1-or-later
%description tools
FreeTDS is a project to document and implement the TDS (Tabular Data Stream)
@ -112,7 +113,7 @@ for several kinds of servers.
%package doc
Summary: User documentation for FreeTDS
License: LGPL-2.1-or-later AND GPL-2.0-or-later
License: GPL-2.0-or-later AND LGPL-2.1-or-later
%description doc
The freetds-doc package contains the useguide and reference of FreeTDS
@ -154,6 +155,7 @@ find %{buildroot}%{_sysconfdir} -type f -print0 | xargs -0 chmod -x
%postun -n libct4 -p /sbin/ldconfig
%post -n libsybdb5 -p /sbin/ldconfig
%postun -n libsybdb5 -p /sbin/ldconfig
%post -n libtdsodbc0
echo "[FreeTDS]
Description = FreeTDS unixODBC Driver
@ -166,6 +168,7 @@ Setup = %{_libdir}/libtdsodbc.so.0" | odbcinst -i -d -r || true
/sbin/ldconfig
%postun -n libtdsodbc0 -p /sbin/ldconfig
%preun -n libtdsodbc0
odbcinst -u -d -n 'FreeTDS'
odbcinst -u -d -n 'SQL Server'