summaryrefslogtreecommitdiffstats
path: root/valkey-json.spec
diff options
context:
space:
mode:
Diffstat (limited to 'valkey-json.spec')
-rw-r--r--valkey-json.spec11
1 files changed, 9 insertions, 2 deletions
diff --git a/valkey-json.spec b/valkey-json.spec
index 6f6d486..4c1ad62 100644
--- a/valkey-json.spec
+++ b/valkey-json.spec
@@ -22,9 +22,9 @@
%global rapidjson_commit ebd87cb468fb4cb060b37e579718c4a4125416c1
Name: valkey-json
-Version: 1.0.1
+Version: 1.0.2
%forgemeta
-Release: 2%{?dist}
+Release: 1%{?dist}
Summary: JSON as native data type
# this module is BSD-3-Clause
# RapidJSON is MIT
@@ -36,6 +36,8 @@ Source1: %{rapidjson_url}/archive/%{rapidjson_commit}/rapidjson-%{rapi
# use header from valkey-devel to avoid downloading valkey sources
# use rapidjson git snapshot to avoid download
Patch0: %{name}-offline.patch
+# see https://github.com/valkey-io/valkey-json/issues/83
+Patch1: %{name}-format.patch
BuildRequires: valkey-devel >= 8.0
BuildRequires: cmake >= 3.17
@@ -70,6 +72,8 @@ See https://rapidjson.org/
%prep
%setup -q -n %{gh_proj}-%{version} -a1
%patch -P0 -p1 -b .offline
+%patch -P1 -p1 -b .format
+sed -e 's/-Wno-format//' -i CMakeLists.txt
: Configuration file
cat << EOF | tee %{cfgname}
@@ -109,6 +113,9 @@ install -Dpm640 %{cfgname} %{buildroot}%{valkey_modules_cfg}/%{cfgna
%changelog
+* Tue Sep 9 2025 Remi Collet <remi@remirepo.net> - 1.0.2-1
+- update to 1.0.2
+
* 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