Merged update from upstream sources

This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/postgresql-odbc.git#cf555d55b36067b31c21d1dc0570e55b239d3796
This commit is contained in:
DistroBaker 2021-02-09 10:42:02 +00:00
parent ad159a2834
commit 92fd27f2db

View File

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