--- postgresql-odbc.spec.nodsc 2012-06-05 09:30:02.138368463 +0200 +++ postgresql-odbc.spec 2012-05-21 14:21:24.485319290 +0200 @@ -1,4 +1,6 @@ -Name: postgresql-odbc +%{?scl:%scl_package postgresql-odbc} + +Name: %{?scl_prefix}postgresql-odbc Summary: PostgreSQL ODBC driver Version: 09.01.0100 Release: 1%{?dist} @@ -21,7 +23,7 @@ Source1: acinclude.m4 Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: unixODBC-devel -BuildRequires: libtool automake autoconf postgresql-devel +BuildRequires: libtool automake autoconf %{?scl_prefix}postgresql-devel BuildRequires: openssl-devel krb5-devel pam-devel zlib-devel readline-devel # This spec file and ancillary files are licensed in accordance with @@ -48,7 +50,7 @@ autoheader %build -%configure --with-unixodbc --disable-dependency-tracking +%configure --with-unixodbc --disable-dependency-tracking --with-libpq=%{_bindir}/pg_config make