[freetds/el6] upgrade to 0.91
Dmitry Butskoy
buc at fedoraproject.org
Thu Oct 27 13:44:06 UTC 2011
commit bec76765f612a2eb102f5c65f4280997a6b4a5a4
Author: Dmitry Butskoy <Dmitry at Butskoy.name>
Date: Thu Oct 27 17:43:51 2011 +0400
upgrade to 0.91
freetds-0.82.1-shared-libtds.patch | 125 ------------------------------------
freetds-0.82.1-version.patch | 33 ----------
freetds.spec | 39 ++++-------
sources | 2 +-
4 files changed, 15 insertions(+), 184 deletions(-)
---
diff --git a/freetds.spec b/freetds.spec
index f2e1c4c..4d03b26 100644
--- a/freetds.spec
+++ b/freetds.spec
@@ -1,7 +1,3 @@
-%define devdate 20110306
-
-%bcond_with libtds
-
%ifarch alpha ia64 x86_64 ppc64 sparc64 s390x
%define bits 64
%else
@@ -10,23 +6,16 @@
Name: freetds
Summary: Implementation of the TDS (Tabular DataStream) protocol
-Version: 0.82.1
-Release: 0.3.%{devdate}dev%{?dist}
+Version: 0.91
+Release: 1%{?dist}
Group: System Environment/Libraries
License: LGPLv2+ and GPLv2+
URL: http://www.freetds.org/
-Source0: ftp://ftp.ibiblio.org/pub/Linux/ALPHA/freetds/stable/freetds-patched.tgz
+Source0: ftp://ftp.ibiblio.org/pub/Linux/ALPHA/freetds/stable/freetds-%{version}.tar.bz2
Source1: freetds-tds_sysdep_public.h
-Patch0: freetds-0.82.1-version.patch
-Patch1: freetds-0.82.1-shared-libtds.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: unixODBC-devel, readline-devel, gnutls-devel, libtool
-
-%define fullversion %{version}.dev.%{devdate}
-
-# required for patch0
-%define _default_patch_flags -s -Z
+BuildRequires: unixODBC-devel, readline-devel, gnutls-devel
%description
@@ -58,24 +47,20 @@ If you like to develop programs using %{name}, you will need to install
%prep
-%setup -q -n %{name}-%{fullversion}
-%patch0 -p1
-%{?_with_libtds:%patch1 -p1}
-
-mv doc/doc/freetds-%{fullversion} doc/doc/freetds-%{version}
+%setup -q
# correct perl path
sed -i '1 s,#!.*/perl,#!%{__perl},' samples/*.pl
chmod -x samples/*.sh
-%if %{with libtds}
-rm -f m4/lib-*.m4 # remove bogus libtool-related macros
-autoreconf -f -i
-%endif
-
+rm -rf doc/images/CVS doc/images/callouts/CVS
+
%build
+
+export LIBS=-lgcrypt
+
%configure \
--disable-dependency-tracking \
--disable-rpath \
@@ -141,6 +126,10 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Wed Oct 26 2011 Dmitry Butskoy <Dmitry at Butskoy.name> - 0.91-1
+- Upgrade to 0.91
+- Drop shared-libtds support
+
* Wed Mar 9 2011 Dmitry Butskoy <Dmitry at Butskoy.name> - 0.82.1-0.3.20110306dev
- update to the latest stable snapshot 0.82.1.dev.20110306
- make build with shared-libtds conditional
diff --git a/sources b/sources
index 9b1838b..94ffb12 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-4db449f5ac99ba7ec5bb331a7de7abe7 freetds-patched.tgz
+e88e96800c89d62307812315b235eb18 freetds-0.91.tar.bz2
More information about the scm-commits
mailing list