|
 |
8be4fa8 |
%global module redisearch
|
|
 |
8be4fa8 |
Name: RediSearch
|
|
 |
8be4fa8 |
Version: 1.2.2
|
|
 |
02379ba |
Release: 8%{?dist}
|
|
 |
8be4fa8 |
Summary: Full-text search over Redis
|
|
 |
8be4fa8 |
|
|
 |
8be4fa8 |
%global disable_tests 0
|
|
 |
8be4fa8 |
|
|
 |
8be4fa8 |
License: AGPLv3
|
|
 |
8be4fa8 |
URL: https://goodformcode.com/
|
|
 |
8be4fa8 |
Source0: https://github.com/GoodFORM/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
|
|
 |
8be4fa8 |
|
|
 |
4db00b7 |
Patch1: fix-tests-linkage.patch
|
|
 |
4db00b7 |
|
|
 |
3072540 |
# "RediSearch is developed and tested on Linux and Mac OS, on x86_64 CPUs." from docs/index.md
|
|
 |
3072540 |
ExclusiveArch: x86_64
|
|
 |
3072540 |
|
|
 |
d2490bb |
BuildRequires: make
|
|
 |
8be4fa8 |
BuildRequires: gcc
|
|
 |
8be4fa8 |
BuildRequires: git
|
|
 |
8be4fa8 |
BuildRequires: python3
|
|
 |
8be4fa8 |
BuildRequires: python3-rmtest >= 1
|
|
 |
8be4fa8 |
BuildRequires: redis-devel
|
|
 |
8be4fa8 |
BuildRequires: redis >= 4
|
|
 |
8be4fa8 |
Requires: redis >= 4
|
|
 |
8be4fa8 |
Requires: redis(modules_abi)%{?_isa} = %{redis_modules_abi}
|
|
 |
8be4fa8 |
|
|
 |
8be4fa8 |
%description
|
|
 |
8be4fa8 |
RediSearch implements a search engine on top of Redis, providing
|
|
 |
8be4fa8 |
three main features - full text search, secondary indexing and a
|
|
 |
8be4fa8 |
suggestion (auto-completion) engine.
|
|
 |
8be4fa8 |
|
|
 |
8be4fa8 |
It provides advanced search features like exact phrase matching
|
|
 |
8be4fa8 |
and numeric filtering for text queries, that are not possible or
|
|
 |
8be4fa8 |
efficient with traditional Redis search approaches.
|
|
 |
8be4fa8 |
|
|
 |
8be4fa8 |
%prep
|
|
 |
8be4fa8 |
%setup -q
|
|
 |
4db00b7 |
%patch1 -p1
|
|
 |
8be4fa8 |
|
|
 |
8be4fa8 |
%build
|
|
 |
8be4fa8 |
make %{?_smp_mflags} LD="cc" LDFLAGS="%{?__global_ldflags}"
|
|
 |
8be4fa8 |
|
|
 |
8be4fa8 |
%if !%{disable_tests}
|
|
 |
8be4fa8 |
%check
|
|
 |
8be4fa8 |
make PYTHON="python3" test
|
|
 |
8be4fa8 |
%endif
|
|
 |
8be4fa8 |
|
|
 |
8be4fa8 |
%install
|
|
 |
8be4fa8 |
mkdir -p %{buildroot}%{redis_modules_dir}
|
|
 |
8be4fa8 |
install -pDm755 src/%{module}.so %{buildroot}%{redis_modules_dir}/%{module}.so
|
|
 |
8be4fa8 |
|
|
 |
8be4fa8 |
%files
|
|
 |
8be4fa8 |
%{!?_licensedir:%global license %%doc}
|
|
 |
8be4fa8 |
%license LICENSE
|
|
 |
8be4fa8 |
%doc README.md docs/*.md docs/*.png docs/img/*.png
|
|
 |
8be4fa8 |
%{redis_modules_dir}/%{module}.so
|
|
 |
8be4fa8 |
|
|
 |
8be4fa8 |
%changelog
|
|
 |
02379ba |
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-8
|
|
 |
02379ba |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
 |
02379ba |
|
|
 |
4db00b7 |
* Mon Feb 14 2022 Nathan Scott <nathans@redhat.com> - 1.2.2-7
|
|
 |
4db00b7 |
- Fix linkage of test case binaries (BZ #2045182)
|
|
 |
4db00b7 |
|
|
 |
e2563ae |
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-6
|
|
 |
e2563ae |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
 |
e2563ae |
|
|
 |
5a5d107 |
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-5
|
|
 |
5a5d107 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
 |
5a5d107 |
|
|
 |
f77be54 |
* Mon Jan 25 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-4
|
|
 |
f77be54 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
 |
f77be54 |
|
|
 |
3d97aa2 |
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-3
|
|
 |
3d97aa2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
 |
3d97aa2 |
|
|
 |
3072540 |
* Thu Jul 02 2020 Andreas Gerstmayr <agerstmayr@redhat.com> - 1.2.2-2
|
|
 |
3072540 |
- Add ExclusiveArch: x86_64
|
|
 |
3072540 |
|
|
 |
8be4fa8 |
* Sun Mar 29 2020 Nathan Scott <nathans@redhat.com> - 1.2.2-1
|
|
 |
6184e52 |
- Initial package (BZ #1820391)
|