Revert library name back to psqlodbc.so; add missing documentation.

This commit is contained in:
Tom Lane 2006-03-22 16:21:44 +00:00
parent 789f374c4a
commit 1ec14d4b0e

View File

@ -1,7 +1,7 @@
Name: postgresql-odbc Name: postgresql-odbc
Summary: PostgreSQL ODBC driver. Summary: PostgreSQL ODBC driver.
Version: 08.01.0200 Version: 08.01.0200
Release: 1.2 Release: 2
License: LGPL License: LGPL
Group: Applications/Databases Group: Applications/Databases
Url: http://gborg.postgresql.org/project/psqlodbc Url: http://gborg.postgresql.org/project/psqlodbc
@ -38,9 +38,11 @@ autoconf
%build %build
# Note: the package's build infrastructure does not seem to provide a sane # Note: we choose to build only the Unicode version of the driver, which
# way to build or install both the ANSI and Unicode versions of the driver. # we then install under the old library name "psqlodbc.so". We are not
# Ideally we should install both, but for now, Unicode only. # 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} %configure --with-unixodbc --with-odbcinst=%{_sysconfdir}
make make
@ -50,8 +52,11 @@ rm -rf $RPM_BUILD_ROOT
%makeinstall %makeinstall
# Create a symlink to avoid breaking existing odbcinst.ini scripts. # rename as per above note, and remove the rather useless .la file
ln -s psqlodbcw.so ${RPM_BUILD_ROOT}%{_libdir}/psqlodbc.so pushd ${RPM_BUILD_ROOT}%{_libdir}
mv psqlodbcw.so psqlodbc.so
rm psqlodbcw.la
popd
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
@ -61,11 +66,15 @@ rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%attr(755,root,root) %{_libdir}/psqlodbcw.so %attr(755,root,root) %{_libdir}/psqlodbc.so
%{_libdir}/psqlodbcw.la %doc license.txt readme.txt docs/*
%{_libdir}/psqlodbc.so
%changelog %changelog
* Wed Mar 22 2006 Tom Lane <tgl@redhat.com> 08.01.0200-2
- Change library name back to psqlodbc.so, because it appears that upstream
will revert to that name in next release; no point in thrashing the name.
- Include documentation files unaccountably omitted before (bug #184158)
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 08.01.0200-1.2 * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 08.01.0200-1.2
- bump again for double-long bug on ppc(64) - bump again for double-long bug on ppc(64)