diff --git a/postgresql-odbc.spec b/postgresql-odbc.spec index 46acaf0..a6580f6 100644 --- a/postgresql-odbc.spec +++ b/postgresql-odbc.spec @@ -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}