diff --git a/.cvsignore b/.cvsignore index a787692..d39ec2f 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -psqlodbc-08.02.0500.tar.gz +psqlodbc-08.03.0100.tar.gz diff --git a/postgresql-odbc.spec b/postgresql-odbc.spec index 3f2bb05..d9dbcce 100644 --- a/postgresql-odbc.spec +++ b/postgresql-odbc.spec @@ -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 @@ autoheader %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 @@ rm -rf $RPM_BUILD_ROOT %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 @@ rm -rf $RPM_BUILD_ROOT %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 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 08.02.0500-1 - Update to version 08.02.0500 diff --git a/sources b/sources index e99008b..4e9e1a6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -123479084fdb0e130b392386b2d1e79a psqlodbc-08.02.0500.tar.gz +c6e9ba122cfdefbd5adeb4cbf9411329 psqlodbc-08.03.0100.tar.gz