Enable portable build by disabling OPTFLAGS. It could cause errors.

See rhbz2329849
Reoslves: RHEL-73444
This commit is contained in:
Filip Janus 2025-01-20 08:18:03 +00:00
parent a4e64e509f
commit bc940ddae6

View File

@ -12,7 +12,7 @@
Name: postgresql%{pgversion}-%{sname} Name: postgresql%{pgversion}-%{sname}
Version: 0.6.2 Version: 0.6.2
Release: 2%{?dist} Release: 3%{?dist}
Summary: Open-source vector similarity search for Postgres Summary: Open-source vector similarity search for Postgres
License: PostgreSQL License: PostgreSQL
URL: https://github.com/%{sname}/%{sname}/ URL: https://github.com/%{sname}/%{sname}/
@ -63,7 +63,7 @@ This packages provides JIT support for pgvector
%setup -q -n %{sname}-%{version} %setup -q -n %{sname}-%{version}
%build %build
%make_build %{?_smp_mflags} %make_build %{?_smp_mflags} OPTFLAGS=""
%install %install
%make_install %make_install
@ -84,6 +84,10 @@ This packages provides JIT support for pgvector
%endif %endif
%changelog %changelog
* Mon Jan 20 2025 Filip Janus <fjanus@redhat.com> - 0.6.2-3
- Enable Portable build
- Resolves: RHEL-73444
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 0.6.2-2 * Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 0.6.2-2
- Bump release for October 2024 mass rebuild: - Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018 Resolves: RHEL-64018