public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rteval] f43: Upgrade to rteval-3.13
@ 2026-08-26 20:27 John Kacur
  0 siblings, 0 replies; only message in thread
From: John Kacur @ 2026-08-26 20:27 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/rteval
            Branch : f43
            Commit : 318491b4c85c20a3ef8da8944856a10e60c438d7
            Author : John Kacur <jkacur@redhat.com>
            Date   : 2026-08-26T14:40:15-04:00
            Stats  : +37/-3 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/rteval/c/318491b4c85c20a3ef8da8944856a10e60c438d7?branch=f43

            Log:
            Upgrade to rteval-3.13

Add rteval-mcp subpackage (Fedora only)

Signed-off-by: John Kacur <jkacur@redhat.com>

---
diff --git a/.gitignore b/.gitignore
index d564e8d..3b60980 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,3 +11,4 @@
 /rteval-3.10.tar.xz
 /rteval-3.11.tar.xz
 /rteval-3.12.tar.xz
+/rteval-3.13.tar.xz

diff --git a/rteval.spec b/rteval.spec
index dd10178..5491d76 100644
--- a/rteval.spec
+++ b/rteval.spec
@@ -1,5 +1,5 @@
 Name:		rteval
-Version:	3.12
+Version:	3.13
 Release:	1%{?dist}
 Summary:	Utility to evaluate system suitability for RT Linux
 
@@ -8,7 +8,7 @@ License:	GPL-2.0-only AND GPL-2.0-or-later
 URL:		https://git.kernel.org/pub/scm/utils/rteval/rteval.git
 Source0:	https://www.kernel.org/pub/linux/utils/%{name}/%{name}-%{version}.tar.xz
 # https://lore.kernel.org/linux-rt-users/20251126231223.100316-1-yselkowi@redhat.com/T/#u
-Patch0:         rteval-do-not-require-wheel-for-building.patch
+Patch0:		rteval-do-not-require-wheel-for-building.patch
 
 BuildRequires:	python3-devel
 Requires:	python3-libxml2
@@ -40,6 +40,19 @@ is run to measure event response time. After the run time completes,
 a statistical analysis of the event response times is done and printed
 to the screen.
 
+%if 0%{?fedora}
+%package mcp
+Summary:	MCP server for analyzing rteval results
+Requires:	%{name} = %{version}-%{release}
+Requires:	python3-mcp
+
+%description mcp
+An MCP (Model Context Protocol) server that exposes tools for parsing and
+analyzing rteval result files from an MCP-capable client.
+
+Authored and maintained by John Kacur <jkacur@redhat.com>.
+%endif
+
 %prep
 %autosetup -v -p1
 # Delete setup.py so pyproject.toml build doesn't use it
@@ -70,6 +83,14 @@ install -m 0644 rteval/rteval_*.xsl %{buildroot}%{_datadir}/%{name}/
 mkdir -p %{buildroot}%{_sysconfdir}
 install -m 0644 rteval.conf %{buildroot}%{_sysconfdir}/rteval.conf
 
+%if 0%{?rhel}
+# Do not ship the MCP server on RHEL/CentOS. The rteval_mcp module and the
+# rteval-mcp-server entry point are produced by %%pyproject_install from the
+# shared tarball; remove them so only Fedora ships the MCP server.
+rm -rf %{buildroot}%{python3_sitelib}/rteval_mcp
+rm -f %{buildroot}%{_bindir}/rteval-mcp-server
+%endif
+
 %files -f %{pyproject_files}
 %defattr(-,root,root,-)
 %doc README doc/rteval-legacy.txt
@@ -80,7 +101,19 @@ install -m 0644 rteval.conf %{buildroot}%{_sysconfdir}/rteval.conf
 %{_datadir}/%{name}/rteval_*.xsl
 %{_bindir}/rteval
 
+%if 0%{?fedora}
+%files mcp
+%license COPYING
+%doc rteval_mcp/README.md rteval_mcp/DEMO.md rteval_mcp/ENABLING.md rteval_mcp/mcp.json.example
+%{python3_sitelib}/rteval_mcp
+%{_bindir}/rteval-mcp-server
+%endif
+
 %changelog
+* Wed Aug 26 2026 John Kacur <jkacur@redhat.com> - 3.13-1
+- Upgrade to rteval-3.13
+- Add rteval-mcp subpackage (Fedora only)
+
 * Mon Jul 27 2026 John Kacur <jkacur@redhat.com> - 3.12-1
 - Upgrade to rteval-3.12
 

diff --git a/sources b/sources
index c782e58..2804003 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (rteval-3.12.tar.xz) = a5712647b830e8bdcd64370df0ac2a70df39410a2bf7d47c8c63f3bee5691f04a11e4a07625a29b545b6b868cbc86f90da163edb0a67141f8462b68a00c3fb52
+SHA512 (rteval-3.13.tar.xz) = 9887947a91cd4907bab4e7e02d248c75cc5755daaac242f5f9a835f90e455849c11adb1bcbd17ab5511a6ec3a1fcd760790ea2a22dd4ba52267a70ef5fbddf48

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-26 20:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-26 20:27 [rpms/rteval] f43: Upgrade to rteval-3.13 John Kacur

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox