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++