diff options
Diffstat (limited to 'valkey-json.spec')
-rw-r--r-- | valkey-json.spec | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/valkey-json.spec b/valkey-json.spec index c8aa269..6f6d486 100644 --- a/valkey-json.spec +++ b/valkey-json.spec @@ -24,7 +24,7 @@ Name: valkey-json Version: 1.0.1 %forgemeta -Release: 1%{?dist} +Release: 2%{?dist} Summary: JSON as native data type # this module is BSD-3-Clause # RapidJSON is MIT @@ -69,7 +69,7 @@ See https://rapidjson.org/ %prep %setup -q -n %{gh_proj}-%{version} -a1 -%patch -P0 -p1 +%patch -P0 -p1 -b .offline : Configuration file cat << EOF | tee %{cfgname} @@ -83,6 +83,8 @@ cp -p src/rapidjson/license.txt LICENSE.rapidjson %build %cmake \ -DVALKEY_VERSION=8.1 \ + -DVALKEY_INCLUDE_DIR=%_includedir \ + -DRAPIDJSON_SOURCE_DIR=$PWD/rapidjson-%{rapidjson_commit} \ -DBUILD_RELEASE:BOOL=ON \ -DENABLE_UNIT_TESTS:BOOL=OFF \ -DENABLE_INTEGRATION_TESTS:BOOL=OFF @@ -107,5 +109,9 @@ install -Dpm640 %{cfgname} %{buildroot}%{valkey_modules_cfg}/%{cfgna %changelog +* Wed Aug 6 2025 Remi Collet <remi@remirepo.net> - 1.0.1-2 +- improve patch for offlilne build and submit upstream: + https://github.com/valkey-io/valkey-json/pull/73 + * Wed Aug 6 2025 Remi Collet <remi@remirepo.net> - 1.0.1-1 - initial package |