diff options
author | Remi Collet <remi@remirepo.net> | 2025-08-06 15:32:49 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2025-08-06 15:32:49 +0200 |
commit | 0f8fbb33ca003f55c76c90c059c951ae1eb49cca (patch) | |
tree | 8071518c7bf0915e5b8e8b53c8e869eaa245b68f /valkey-json.spec | |
parent | bb4d9fa6a29ae710046274703bb59a3ed5c7b24b (diff) |
improve patch for offlilne build and submit upstream:
https://github.com/valkey-io/valkey-json/pull/73
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 |