rpms/freetds/devel freetds.spec,1.11,1.12

Dmitry Butskoy (buc) fedora-extras-commits at redhat.com
Tue Jun 17 14:30:44 UTC 2008


Author: buc

Update of /cvs/extras/rpms/freetds/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22165

Modified Files:
	freetds.spec 
Log Message:



Index: freetds.spec
===================================================================
RCS file: /cvs/extras/rpms/freetds/devel/freetds.spec,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- freetds.spec	10 Jun 2008 15:17:34 -0000	1.11
+++ freetds.spec	17 Jun 2008 14:29:53 -0000	1.12
@@ -7,14 +7,15 @@
 Name: freetds
 Summary: Implementation of the TDS (Tabular DataStream) protocol
 Version: 0.82
-Release: 1%{?dist}
+Release: 2%{?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-%{version}.tar.gz
 Source1: freetds-tds_sysdep_public.h
+Patch0: freetds-0.82-shared-libtds.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: unixODBC-devel, readline-devel openssl-devel
+BuildRequires: unixODBC-devel, readline-devel, openssl-devel, libtool
  
 
 %description 
@@ -47,13 +48,17 @@
 
 %prep 
 %setup -q
+%patch0 -p1
 
 #  correct perl path
 sed -i '1 s,#!.*/perl,#!%{__perl},' samples/*.pl
 
 chmod -x samples/*.sh
 
+#  needed after patch0 ...
+autoreconf -f -i
  
+
 %build 
 %configure \
 	--disable-dependency-tracking \
@@ -101,6 +106,7 @@
 %defattr(-, root, root, -) 
 %{_bindir}/*
 %{_libdir}/*.so.*
+%{_libdir}/libtds-%{version}.so
 %config(noreplace) %{_sysconfdir}/*.conf
 %doc AUTHORS BUGS COPYING* NEWS README TODO doc/*.html
 %doc doc/doc/freetds-%{version}/userguide doc/images
@@ -112,6 +118,7 @@
 %doc samples
 %{?_with_static: %{_libdir}/*.a}
 %{_libdir}/*.so
+%exclude %{_libdir}/libtds-%{version}.so
 %{_includedir}/*
 
 
@@ -121,6 +128,11 @@
  
 
 %changelog
+* Tue Jun 17 2008 Dmitry Butskoy <Dmitry at Butskoy.name> - 0.82-2
+- Continue to provide an internal libtds library as public
+  (patch from Hans de Goede, #451021). This shared library is needed
+  for some existing applications (libgda etc.), which still use it directly.
+
 * Mon Jun  9 2008 Dmitry Butskoy <Dmitry at Butskoy.name> - 0.82-1
 - Upgrade to 0.82
 




More information about the fedora-extras-commits mailing list