diff options
| author | Remi Collet <remi@remirepo.net> | 2026-02-06 16:14:20 +0100 |
|---|---|---|
| committer | Remi Collet <remi@php.net> | 2026-02-06 16:14:20 +0100 |
| commit | d2b5ccec58d407c7353d92de510b7288fdaea8d0 (patch) | |
| tree | 51fd171b81d3d71a9f521754f64edd6b3dcba648 | |
| parent | eb4fa12a31beba0624158bf2e065e0019405ebf1 (diff) | |
| -rw-r--r-- | valkey-json.spec | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/valkey-json.spec b/valkey-json.spec index 4c1ad62..bd46489 100644 --- a/valkey-json.spec +++ b/valkey-json.spec @@ -1,6 +1,6 @@ # remirepo/fedora spec file for valkey-json # -# SPDX-FileCopyrightText: Copyright 2025 Remi Collet +# SPDX-FileCopyrightText: Copyright 2025-2026 Remi Collet # SPDX-License-Identifier: CECILL-2.1 # http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt # @@ -24,7 +24,7 @@ Name: valkey-json Version: 1.0.2 %forgemeta -Release: 1%{?dist} +Release: 2%{?dist} Summary: JSON as native data type # this module is BSD-3-Clause # RapidJSON is MIT @@ -35,16 +35,17 @@ 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 +# see https://github.com/valkey-io/valkey-json/pull/73 Patch0: %{name}-offline.patch # see https://github.com/valkey-io/valkey-json/issues/83 Patch1: %{name}-format.patch -BuildRequires: valkey-devel >= 8.0 +BuildRequires: valkey-devel >= 8.1 BuildRequires: cmake >= 3.17 BuildRequires: gcc-c++ Requires: valkey(modules_abi)%{?_isa} = %{valkey_modules_abi} -Requires: valkey >= 8.0 +Requires: valkey >= %{valkey_version} Supplements: valkey Provides: bundled(RapidJSON) @@ -74,6 +75,7 @@ See https://rapidjson.org/ %patch -P0 -p1 -b .offline %patch -P1 -p1 -b .format sed -e 's/-Wno-format//' -i CMakeLists.txt +sed -e 's/-Werror//' -i CMakeLists.txt : Configuration file cat << EOF | tee %{cfgname} @@ -113,6 +115,9 @@ install -Dpm640 %{cfgname} %{buildroot}%{valkey_modules_cfg}/%{cfgna %changelog +* Fri Feb 6 2026 Remi Collet <remi@remirepo.net> - 1.0.2-2 +- disable -Werror build option + * Tue Sep 9 2025 Remi Collet <remi@remirepo.net> - 1.0.2-1 - update to 1.0.2 |
