Compare commits

...

No commits in common. "c9-beta-stream-16" and "stream-postgresql-18-rhel-9.8.0" have entirely different histories.

4 changed files with 16 additions and 5 deletions

3
.gitignore vendored Normal file → Executable file
View File

@ -1 +1,2 @@
SOURCES/v0.6.2.tar.gz
/v0.6.2.tar.gz
/v0.8.1.tar.gz

View File

@ -1 +0,0 @@
ebcc191bc52367e3d7b2bfd97d00b58127c26662 SOURCES/v0.6.2.tar.gz

View File

@ -1,7 +1,7 @@
%global pname vector
Name: pgvector
Version: 0.6.2
Version: 0.8.1
Release: 1%{?dist}
Summary: Open-source vector similarity search for Postgres
License: PostgreSQL
@ -9,7 +9,7 @@ URL: https://github.com/%{name}/%{name}/
Source0: https://github.com/%{name}/%{name}/archive/refs/tags/v%{version}.tar.gz
BuildRequires: make gcc
BuildRequires: postgresql-server-devel >= 16, postgresql-server-devel < 17
BuildRequires: postgresql-server-devel >= 18 , postgresql-server-devel < 19
%{?postgresql_module_requires}
%description
@ -20,13 +20,15 @@ inner product, and cosine distance
%setup -q -n %{name}-%{version}
%build
%make_build %{?_smp_mflags}
%make_build %{?_smp_mflags} OPTFLAGS=""
%install
%make_install
#Remove header file, we don't need it right now:
%{__rm} %{buildroot}/%{_includedir}/pgsql/server/extension/%{pname}/%{pname}.h
%{__rm} %{buildroot}/%{_includedir}/pgsql/server/extension/%{pname}/halfvec.h
%{__rm} %{buildroot}/%{_includedir}/pgsql/server/extension/%{pname}/sparsevec.h
%files
%doc README.md
@ -36,6 +38,14 @@ inner product, and cosine distance
%{_datadir}/pgsql/extension/%{pname}*sql
%changelog
* Tue Nov 18 2025 Filip Janus <fjanus@redhat.com> - 0.8.1-1
- Update to 0.8.1
- Initial import for postgresql18
* Wed Mar 26 2025 Nikola Davidova <ndavidov@redhat.com> - 0.6.2-2
- Enable Portable build
- Resolves: RHEL-84405
* Mon Mar 25 2024 Filip Janus <fjanus@redhat.com> - 0.6.2-1
- Initial packaging

1
sources Executable file
View File

@ -0,0 +1 @@
SHA512 (v0.8.1.tar.gz) = 182ca40c3fcc9efb5de46b4b562ba962b82a413c444e1a3b7ef09f81da1ad96bb257cbf2037069a334880d51f91da120ae436ac17751eeb4b30f0683bd2a9e73