diff --git a/postgresql-odbc.spec b/postgresql-odbc.spec index 46acaf0..f6c3740 100644 --- a/postgresql-odbc.spec +++ b/postgresql-odbc.spec @@ -5,7 +5,7 @@ Name: postgresql-odbc Summary: PostgreSQL ODBC driver Version: 12.02.0000 -Release: 3%{?dist} +Release: 4%{?dist} License: LGPLv2+ URL: https://odbc.postgresql.org/ @@ -45,11 +45,11 @@ EOF %configure --with-unixodbc --disable-dependency-tracking # GCC 10 defaults to -fno-common # https://gcc.gnu.org/gcc-10/changes.html (see C section) -make %{?_smp_mflags} CFLAGS="%{optflags} -fcommon" +%make_build CFLAGS="%{optflags} -fcommon" %install -make DESTDIR=$RPM_BUILD_ROOT install +%make_install %global testsuitedir %{_libdir}/%{name} install -d -m 755 $RPM_BUILD_ROOT/%{testsuitedir} @@ -79,8 +79,6 @@ cd test && make installcheck %{_smp_mflags} CFLAGS="%{optflags} -fcommon" || { %endif -%ldconfig_scriptlets - %package tests Summary: Testsuite files for psqlodbc @@ -110,6 +108,9 @@ the PostgreSQL unixODBC driver. %changelog +* Mon Feb 08 2021 Pavel Raiskup - 12.02.0000-4 +- rebuild for libpq ABI fix rhbz#1908268 + * Wed Jan 27 2021 Fedora Release Engineering - 12.02.0000-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild