Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package mcphost for openSUSE:Factory checked in at 2025-11-11 19:19:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mcphost (Old) and /work/SRC/openSUSE:Factory/.mcphost.new.1980 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mcphost" Tue Nov 11 19:19:45 2025 rev:2 rq:1316078 version:0.31.1 Changes: -------- --- /work/SRC/openSUSE:Factory/mcphost/mcphost.changes 2025-10-24 17:25:35.280846990 +0200 +++ /work/SRC/openSUSE:Factory/.mcphost.new.1980/mcphost.changes 2025-11-11 19:20:05.168330287 +0100 @@ -1,0 +2,5 @@ +Wed Nov 5 10:17:13 UTC 2025 - Sai Karthik Karra <[email protected]> + +- Add shell completions & basic %check during build time + +------------------------------------------------------------------- New: ---- build.specials.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mcphost.spec ++++++ --- /var/tmp/diff_new_pack.JZclnX/_old 2025-11-11 19:20:06.264376193 +0100 +++ /var/tmp/diff_new_pack.JZclnX/_new 2025-11-11 19:20:06.264376193 +0100 @@ -42,6 +42,37 @@ with external tools through the Model Context Protocol (MCP). Currently supports both Claude 3.5 Sonnet and Ollama models. +%package bash-completion +Summary: Bash Completion for %{name} +Group: System/Shells +Requires: bash-completion +BuildArch: noarch +Requires: %{name} +Supplements: (%{name} and bash-completion) + +%description bash-completion +The official bash completion script for %{name}, generated during the build. + +%package zsh-completion +Summary: ZSH Completion for %{name} +Group: System/Shells +BuildArch: noarch +Requires: %{name} +Supplements: (%{name} and zsh) + +%description zsh-completion +The official zsh completion script for %{name}, generated during the build. + +%package fish-completion +Summary: Fish Completion for %{name} +Group: System/Shells +BuildArch: noarch +Requires: %{name} +Supplements: (%{name} and fish) + +%description fish-completion +The official fish completion script for %{name}, generated during the build. + %prep # Setup the main source code %setup -q -n %{name}-%{version} @@ -56,7 +87,30 @@ %install %{goinstall} +# Build the shell autocomplete files +%{buildroot}/%{_bindir}/%{name} completion bash > %{name}-autocomplete.bash +%{buildroot}/%{_bindir}/%{name} completion zsh > %{name}-autocomplete.zsh +%{buildroot}/%{_bindir}/%{name} completion fish > %{name}-autocomplete.fish + +# Install the shell autocomplete files +install -Dm 644 %{name}-autocomplete.bash %{buildroot}%{_datadir}/bash-completion/completions/%{name} +install -Dm 644 %{name}-autocomplete.zsh %{buildroot}%{_datadir}/zsh/site-functions/_%{name} +install -Dm 644 %{name}-autocomplete.fish %{buildroot}%{_datadir}/fish/completions/_%{name} + +%check +# execute the binary as a basic check +%{buildroot}/%{_bindir}/%{name} help + %files %license LICENSE %{_bindir}/%{name} +# completions +%files bash-completion +%{_datadir}/bash-completion + +%files zsh-completion +%{_datadir}/zsh + +%files fish-completion +%{_datadir}/fish ++++++ _scmsync.obsinfo ++++++ --- /var/tmp/diff_new_pack.JZclnX/_old 2025-11-11 19:20:06.304377868 +0100 +++ /var/tmp/diff_new_pack.JZclnX/_new 2025-11-11 19:20:06.308378036 +0100 @@ -1,5 +1,5 @@ -mtime: 1760107722 -commit: 264f41f23651e66f265775ffaf1b044335a6c2f3613014d9610cb30b93b09892 +mtime: 1762343035 +commit: 73fd741081542ccec7f412563f098da548949f35cda6b1b85d0412b02c72b7d0 url: https://src.opensuse.org/AI_MCP/mcphost revision: main ++++++ build.specials.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.gitignore new/.gitignore --- old/.gitignore 1970-01-01 01:00:00.000000000 +0100 +++ new/.gitignore 2025-11-05 12:43:59.000000000 +0100 @@ -0,0 +1,4 @@ +*.obscpio +*.osc +_build.* +.pbuild
