2 Commits

7 changed files with 51 additions and 9 deletions

View File

@@ -2,7 +2,7 @@
<service name="tar_scm" mode="manual">
<param name="url">https://github.com/influxdata/flux.git</param>
<param name="scm">git</param>
<param name="revision">v0.195.2</param>
<param name="revision">v0.196.1</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="changesgenerate">disable</param>
<param name="versionrewrite-pattern">v(.*)</param>

View File

@@ -0,0 +1,33 @@
From d4568519c9e61ef9836366ed782a54b1b1414826 Mon Sep 17 00:00:00 2001
From: "Matwey V. Kornilov" <matwey.kornilov@gmail.com>
Date: Mon, 24 Feb 2025 12:18:42 +0300
Subject: [PATCH] Allow missing docs for tests modules
---
libflux/flux-core/src/ast/mod.rs | 1 +
libflux/flux-core/src/formatter/mod.rs | 1 +
2 files changed, 2 insertions(+)
diff --git a/libflux/flux-core/src/ast/mod.rs b/libflux/flux-core/src/ast/mod.rs
index ba4b13d..2ed00e4 100644
--- a/libflux/flux-core/src/ast/mod.rs
+++ b/libflux/flux-core/src/ast/mod.rs
@@ -1705,4 +1705,5 @@ where
// The tests code exports a few helpers for writing AST related tests.
// We make it public so other tests can consume those helpers.
#[cfg(test)]
+#[allow(missing_docs)]
pub mod tests;
diff --git a/libflux/flux-core/src/formatter/mod.rs b/libflux/flux-core/src/formatter/mod.rs
index 54a350f..9ae1d39 100644
--- a/libflux/flux-core/src/formatter/mod.rs
+++ b/libflux/flux-core/src/formatter/mod.rs
@@ -2110,4 +2110,5 @@ fn starts_with_comment(n: Node) -> bool {
}
#[cfg(test)]
+#[allow(missing_docs)]
pub mod tests;
--
2.48.1

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:188df27bc2f76f34c6b96a9d4089ffdf57afc46056d3cc9b610638a25e86fdc0
size 3635028

3
flux-0.196.1.tar.xz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4814e509ecb12d0b54170efacf1e3e004f08a33507b6c72237f406f25117e489
size 3635516

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Feb 24 08:46:16 UTC 2025 - Matwey Kornilov <matwey.kornilov@gmail.com>
- Update to version 0.196.1, see:
https://github.com/influxdata/flux/releases/
- Add allow-missing-docs-for-tests-modules.patch: fix %check build
-------------------------------------------------------------------
Sun Feb 2 08:01:45 UTC 2025 - Matwey Kornilov <matwey.kornilov@gmail.com>

View File

@@ -21,7 +21,7 @@
%define libflux_suffix %(echo %{version} | tr . _)
Name: flux
Version: 0.195.2
Version: 0.196.1
Release: 0
Summary: Influx data language
License: Apache-2.0 AND MIT AND (Apache-2.0 OR MIT) AND Apache-2.0 WITH LLVM-exception AND CC-BY-3.0 AND CC-BY-SA-4.0 AND (Apache-2.0 OR BSL-1.0) AND BSD-3-Clause AND MPL-2.0 AND Zlib AND X11 AND Unicode-DFS-2016 AND Unicode-TOU
@@ -30,8 +30,9 @@ Source: %{name}-%{version}.tar.xz
Source1: vendor.tar.xz
Patch1: disable-static-library.patch
Patch2: fix-unsigned-char.patch
BuildRequires: cargo1.81
BuildRequires: rust1.81
Patch3: allow-missing-docs-for-tests-modules.patch
BuildRequires: cargo
BuildRequires: rust
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -65,6 +66,7 @@ tar -Jxf %{SOURCE1}
patch -p2 < %{PATCH1}
patch -p2 < %{PATCH2}
patch -p2 < %{PATCH3}
patch -p2 <<EOF
--- a/libflux/flux/build.rs
+++ b/libflux/flux/build.rs

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:83672a7d0f6893b085834cd31ffcd5c70d1ca9f2c02cce8ebd4fe774ca6e3f5f
size 32365628
oid sha256:6216dfb2bda6b71db927db86cbd9839df5bd86dd01edcf476400c05ca62591b1
size 31803036