From 6f66b35454af98e0a0448d4a0bfb94578ab1befa1d2e949153feb906881633d3 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 11 May 2021 07:00:40 +0000 Subject: [PATCH 1/2] Accepting request 891907 from home:brassh:branches:devel:libraries:c_c++ - 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/891907 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/freetds?expand=0&rev=59 --- _service | 7 +++++++ _service:download_url:freetds-1.2.21.tar.gz | 3 +++ baselibs.conf | 2 ++ freetds-1.2.18.tar.gz | 3 --- freetds.changes | 9 +++++++++ freetds.spec | 5 +++-- 6 files changed, 24 insertions(+), 5 deletions(-) create mode 100644 _service create mode 100644 _service:download_url:freetds-1.2.21.tar.gz create mode 100644 baselibs.conf delete mode 100644 freetds-1.2.18.tar.gz diff --git a/_service b/_service new file mode 100644 index 0000000..789d6f3 --- /dev/null +++ b/_service @@ -0,0 +1,7 @@ + + + www.freetds.org + https + /files/stable/freetds-1.2.21.tar.gz + + \ No newline at end of file diff --git a/_service:download_url:freetds-1.2.21.tar.gz b/_service:download_url:freetds-1.2.21.tar.gz new file mode 100644 index 0000000..66826a2 --- /dev/null +++ b/_service:download_url:freetds-1.2.21.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6d70c87eb4f5f2d27b5c812d515befd6b17b8aaa5355eb7cd6210c00f61f7190 +size 3052794 diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..d4ac5e0 --- /dev/null +++ b/baselibs.conf @@ -0,0 +1,2 @@ +libtdsodbc0 +libsybdb5 \ No newline at end of file diff --git a/freetds-1.2.18.tar.gz b/freetds-1.2.18.tar.gz deleted file mode 100644 index c086097..0000000 --- a/freetds-1.2.18.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a02c27802da15a3ade85bbaab6197713cd286f036409af9bba2ab4c63bdf57c3 -size 3052669 diff --git a/freetds.changes b/freetds.changes index 584a69b..9300364 100644 --- a/freetds.changes +++ b/freetds.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +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 diff --git a/freetds.spec b/freetds.spec index 452dd09..3b6ef51 100644 --- a/freetds.spec +++ b/freetds.spec @@ -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 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-1.2.21.tar.gz +Source1: baselibs.conf Patch0: configure-return-void-fix.patch BuildRequires: fdupes BuildRequires: gcc-c++ From f05ebbe6cb917de0969b941f1c0a9f4f292a38d96059ffa41e1731d1b9c2a99f Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 11 May 2021 07:04:21 +0000 Subject: [PATCH 2/2] - remove stale _service and fix Source url OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/freetds?expand=0&rev=60 --- _service | 7 ------- ..._url:freetds-1.2.21.tar.gz => freetds-1.2.21.tar.gz | 0 freetds.changes | 5 +++++ freetds.spec | 10 ++++++---- 4 files changed, 11 insertions(+), 11 deletions(-) delete mode 100644 _service rename _service:download_url:freetds-1.2.21.tar.gz => freetds-1.2.21.tar.gz (100%) diff --git a/_service b/_service deleted file mode 100644 index 789d6f3..0000000 --- a/_service +++ /dev/null @@ -1,7 +0,0 @@ - - - www.freetds.org - https - /files/stable/freetds-1.2.21.tar.gz - - \ No newline at end of file diff --git a/_service:download_url:freetds-1.2.21.tar.gz b/freetds-1.2.21.tar.gz similarity index 100% rename from _service:download_url:freetds-1.2.21.tar.gz rename to freetds-1.2.21.tar.gz diff --git a/freetds.changes b/freetds.changes index 9300364..2a2ce9c 100644 --- a/freetds.changes +++ b/freetds.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue May 11 07:04:07 UTC 2021 - Dirk Müller + +- remove stale _service and fix Source url + ------------------------------------------------------------------- Sun May 09 18:28:41 UTC 2021 - brassh@web.de diff --git a/freetds.spec b/freetds.spec index 3b6ef51..444452f 100644 --- a/freetds.spec +++ b/freetds.spec @@ -20,9 +20,9 @@ Name: freetds 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.21.tar.gz +Source: https://www.freetds.org/files/stable/freetds-%{version}.tar.gz Source1: baselibs.conf Patch0: configure-return-void-fix.patch BuildRequires: fdupes @@ -59,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) @@ -113,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 @@ -155,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 @@ -167,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'