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'