diff --git a/.gitignore b/.gitignore index eb8277c..17c4160 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/psqlodbc-09.03.0400.tar.gz +/psqlodbc-09.05.0100.tar.gz diff --git a/postgresql-odbc.spec b/postgresql-odbc.spec index 9cb5d03..2420356 100644 --- a/postgresql-odbc.spec +++ b/postgresql-odbc.spec @@ -1,16 +1,14 @@ Name: postgresql-odbc Summary: PostgreSQL ODBC driver -Version: 09.03.0400 -Release: 4%{?dist} +Version: 09.05.0100 +Release: 1%{?dist} License: LGPLv2+ Group: Applications/Databases URL: http://psqlodbc.projects.postgresql.org/ Source0: http://ftp.postgresql.org/pub/odbc/versions/src/psqlodbc-%{version}.tar.gz -BuildRequires: unixODBC-devel -BuildRequires: libtool automake autoconf postgresql-devel -BuildRequires: openssl-devel krb5-devel pam-devel zlib-devel readline-devel +BuildRequires: unixODBC-devel postgresql-devel # This spec file and ancillary files are licensed in accordance with # the psqlodbc license. @@ -38,17 +36,6 @@ make DESTDIR=$RPM_BUILD_ROOT install %global testsuitedir %{_libdir}/%{name} install -d -m 755 $RPM_BUILD_ROOT/%{testsuitedir} cp -R test $RPM_BUILD_ROOT/%{testsuitedir} -( cd $RPM_BUILD_ROOT/%{testsuitedir}/test - sed -i \ - -e "s|^[Uu]sername.*|Username = postgres|" \ - -e "s|^[Pp]assword.*|Password =|" \ - -e "s|^[Pp]rotocol.*|Protocol = 7.4|" \ - -e "s|^[Ss]erver[Nn]ame.*|Servername = /var/run/postgresql/|" \ - odbc.ini - sed -i \ - -e "s|^[Dd]river.*|Driver = %{_libdir}/psqlodbcw.so|" \ - odbcinst.ini -) # Provide the old library name "psqlodbc.so" as a symlink, # and remove the rather useless .la file @@ -57,6 +44,7 @@ pushd ${RPM_BUILD_ROOT}%{_libdir} rm psqlodbcw.la popd + %post -p /sbin/ldconfig %postun -p /sbin/ldconfig @@ -72,18 +60,25 @@ Requires: gcc make unixODBC-devel The postgresql-odbc-tests package contains files needed for various tests for the PostgreSQL unixODBC driver. + %files %{_libdir}/psqlodbcw.so %{_libdir}/psqlodbc.so %doc license.txt readme.txt docs/* README.rpmdist + %files tests %doc license.txt %dir %{testsuitedir} %defattr(-,postgres,postgres) %{testsuitedir}/test + %changelog +* Mon Jan 11 2016 Pavel Raiskup - 09.05.0100-1 +- rebase to latest upstream version, per release notes: + http://psqlodbc.projects.pgfoundry.org/docs/release.html + * Thu Jun 18 2015 Fedora Release Engineering - 09.03.0400-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild diff --git a/sources b/sources index b5cb176..a1e0a93 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -33d7020d30978089df3914bcbfa5049f psqlodbc-09.03.0400.tar.gz +75bf9acae7665bd6ef151d9ad7d02485 psqlodbc-09.05.0100.tar.gz