rpms/postgresql-odbc/devel .cvsignore, 1.10, 1.11 postgresql-odbc.spec, 1.22, 1.23 sources, 1.10, 1.11

Tom Lane (tgl) fedora-extras-commits at redhat.com
Tue Feb 12 17:53:49 UTC 2008


Author: tgl

Update of /cvs/pkgs/rpms/postgresql-odbc/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11755

Modified Files:
	.cvsignore postgresql-odbc.spec sources 
Log Message:
Update to version 08.03.0100


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/postgresql-odbc/devel/.cvsignore,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- .cvsignore	2 Nov 2007 21:05:38 -0000	1.10
+++ .cvsignore	12 Feb 2008 17:53:11 -0000	1.11
@@ -1 +1 @@
-psqlodbc-08.02.0500.tar.gz
+psqlodbc-08.03.0100.tar.gz


Index: postgresql-odbc.spec
===================================================================
RCS file: /cvs/pkgs/rpms/postgresql-odbc/devel/postgresql-odbc.spec,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- postgresql-odbc.spec	2 Nov 2007 21:05:38 -0000	1.22
+++ postgresql-odbc.spec	12 Feb 2008 17:53:11 -0000	1.23
@@ -1,6 +1,6 @@
 Name: postgresql-odbc
 Summary: PostgreSQL ODBC driver
-Version: 08.02.0500
+Version: 08.03.0100
 Release: 1%{?dist}
 License: LGPLv2+
 Group: Applications/Databases
@@ -47,13 +47,9 @@
 
 %build
 
-# Note: we choose to build only the Unicode version of the driver, which
-# we then install under the old library name "psqlodbc.so".  We are not
-# adopting the "psqlodbcw.so" naming convention because current upstream
-# plans are to revert back to the old name in the next release.  We can
-# always track the name change later if they change their minds ...
+%configure --with-unixodbc --with-odbcinst=%{_sysconfdir} \
+	--disable-dependency-tracking
 
-%configure --with-unixodbc --with-odbcinst=%{_sysconfdir}
 make
 
 %install
@@ -61,9 +57,10 @@
 
 %makeinstall
 
-# rename as per above note, and remove the rather useless .la file
+# Provide the old library name "psqlodbc.so" as a symlink,
+# and remove the rather useless .la file
 pushd ${RPM_BUILD_ROOT}%{_libdir}
-	mv psqlodbcw.so psqlodbc.so
+	ln -s psqlodbcw.so psqlodbc.so
 	rm psqlodbcw.la
 popd
 
@@ -75,10 +72,17 @@
 
 %files
 %defattr(-,root,root)
-%attr(755,root,root) %{_libdir}/psqlodbc.so
+%attr(755,root,root) %{_libdir}/psqlodbcw.so
+%{_libdir}/psqlodbc.so
 %doc license.txt readme.txt docs/*
 
 %changelog
+* Tue Feb 12 2008 Tom Lane <tgl at redhat.com> 08.03.0100-1
+- Update to version 08.03.0100
+- Since it looks like upstream has decided to stick with psqlodbcw.so
+  permanently, allow the library to have that name.  But continue to
+  provide psqlodbc.so as a symlink.
+
 * Fri Nov  2 2007 Tom Lane <tgl at redhat.com> 08.02.0500-1
 - Update to version 08.02.0500
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/postgresql-odbc/devel/sources,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- sources	2 Nov 2007 21:05:38 -0000	1.10
+++ sources	12 Feb 2008 17:53:11 -0000	1.11
@@ -1 +1 @@
-123479084fdb0e130b392386b2d1e79a  psqlodbc-08.02.0500.tar.gz
+c6e9ba122cfdefbd5adeb4cbf9411329  psqlodbc-08.03.0100.tar.gz




More information about the fedora-extras-commits mailing list