diff --git a/unixODBC.spec b/unixODBC.spec index 9ed52fe5b94eb67b83bb987ec5103e6052adbc48..d3a30f14826d7d8f1ca88323c92cc4cdb2cd0c63 100644 --- a/unixODBC.spec +++ b/unixODBC.spec @@ -1,4 +1,4 @@ -%define anolis_release 4 +%define anolis_release 5 Summary: A complete ODBC driver manager for Linux Name: unixODBC @@ -67,8 +67,13 @@ CFLAGS="%{optflags} -fno-strict-aliasing" CXXFLAGS="$CFLAGS" export CFLAGS CXXFLAGS +%ifarch riscv64 %configure --with-gnu-ld=yes --enable-threads=yes \ - --enable-drivers=yes --enable-driverc=yes + --enable-drivers --enable-driverc --disable-driver_pg +%else +%configure --with-gnu-ld=yes --enable-threads=yes \ + --enable-drivers=yes --enable-driverc=yes +%endif # Get rid of the rpaths sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool @@ -136,6 +141,9 @@ find $RPM_BUILD_ROOT%{_libdir} -name "*.so" | sed "s|^$RPM_BUILD_ROOT||" > dev %_libdir/pkgconfig/*.pc %changelog +* Fri Oct 24 2025 Maeve - 2.3.11-5 +- fix PostgreSQL driver build error + * Fri Aug 09 2024 Kaiqiang Wang - 2.3.11-4 - fix CVE-2024-1013