Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package vcsh for openSUSE:Factory checked in at 2026-09-21 12:15:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/vcsh (Old) and /work/SRC/openSUSE:Factory/.vcsh.new.383539 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "vcsh" Mon Sep 21 12:15:47 2026 rev:5 rq:1379246 version:2.0.10 Changes: -------- --- /work/SRC/openSUSE:Factory/vcsh/vcsh.changes 2024-02-21 17:56:45.652050729 +0100 +++ /work/SRC/openSUSE:Factory/.vcsh.new.383539/vcsh.changes 2026-09-21 12:16:13.277738371 +0200 @@ -1,0 +2,19 @@ +Sun Sep 13 08:21:17 UTC 2026 - Martin Pluskal <[email protected]> + +- Update to version 2.0.10: + * Build switched from homegrown Makefile to Autotools, use the + upstream dist tarball carrying generated configure and man page + * Hook scripts returning failure codes now fail the run + * VCSH_* variables are exported to hooks + * vcsh status prints paths relative to $HOME + * New flag to prefix vcsh foreach output with the repo name + * write-ignore no longer requires a repo argument + * Bash completion added, ZSH completion fixed +- Drop disable-tests.patch, the patched Makefile is gone upstream; + pass --disable-tests to configure instead as perl(Shell::Command) + is not in Factory +- ZSH completion moved to /usr/share/zsh/site-functions, matching + upstream; ship new bash-completion subpackage +- Correct license to GPL-2.0-or-later per upstream SPDX tag + +------------------------------------------------------------------- Old: ---- disable-tests.patch v1.20151229.tar.gz New: ---- vcsh-2.0.10.tar.zst ----------(Old B)---------- Old: * Bash completion added, ZSH completion fixed - Drop disable-tests.patch, the patched Makefile is gone upstream; pass --disable-tests to configure instead as perl(Shell::Command) ----------(Old E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ vcsh.spec ++++++ --- /var/tmp/diff_new_pack.Xs9E6f/_old 2026-09-21 12:16:14.081771978 +0200 +++ /var/tmp/diff_new_pack.Xs9E6f/_new 2026-09-21 12:16:14.083772062 +0200 @@ -1,7 +1,7 @@ # # spec file for package vcsh # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,23 +12,24 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: vcsh -Version: 1.20151229 +Version: 2.0.10 Release: 0 Summary: Config manager for $HOME based on git -License: GPL-2.0-only -Group: System/Management -Url: https://github.com/RichiH/vcsh -Source0: https://github.com/RichiH/vcsh/archive/v%{version}.tar.gz -# Tests require perl modules that aren't in openSUSE repos -Patch0: disable-tests.patch +License: GPL-2.0-or-later +URL: https://github.com/RichiH/vcsh +Source0: https://github.com/RichiH/vcsh/releases/download/v2.0.10/vcsh-2.0.10.tar.zst BuildRequires: fdupes +BuildRequires: git-core BuildRequires: make -BuildRequires: zsh +BuildRequires: pkgconfig +# Source0 is .tar.zst, rpmuncompress needs the binary in the build root +BuildRequires: zstd +BuildRequires: pkgconfig(bash-completion) Requires: bash Requires: git-core BuildArch: noarch @@ -40,33 +41,59 @@ ssh, etc), picking and choosing which configs you want to use on which machine. +%package bash-completion +Summary: Bash completion for %{name} +Requires: %{name} = %{version} +Supplements: (%{name} and bash-completion) +BuildArch: noarch + +%description bash-completion +Bash command line completion support for %{name}. + %package zsh-completion Summary: ZSH Completion for %{name} -Group: System/Management Requires: %{name} = %{version} -Supplements: packageand(%{name}:zsh) +Supplements: (%{name} and zsh) BuildArch: noarch %description zsh-completion zsh command line completion support for %{name}. %prep -%autosetup -p0 +%autosetup %build +# Tests need perl(Shell::Command), which is not in Factory +%configure --disable-tests +# configure rewrites aminclude.am, making it newer than Makefile.in, so make +# would try to re-run automake; restore the order instead +touch Makefile.in +%make_build %install -%make_install DOCDIR_PREFIX=%{_docdir} ZSHDIR=%{_sysconfdir}/zsh_completion.d -%fdupes -s %{buildroot}/%{_prefix} +# docdir is hardcoded in Makefile.am, ignoring configure --docdir +%make_install docdir=%{_docdir}/%{name} +# Upstream installs licenses itself; use the macro instead +rm -rf %{buildroot}%{_datadir}/licenses +%fdupes -s %{buildroot}%{_prefix} %files -%license LICENSE +%license LICENSE.md %dir %{_docdir}/%{name} -%doc %{_docdir}/%{name}/hooks +%doc CONTRIBUTORS +%doc %{_docdir}/%{name}/changelog +%doc %{_docdir}/%{name}/error_codes.md +%doc %{_docdir}/%{name}/INSTALL.md %doc %{_docdir}/%{name}/README.md +%doc %{_docdir}/%{name}/sample_hooks %{_bindir}/%{name} -%{_mandir}/man1/%{name}.1%{ext_man} +%{_mandir}/man1/%{name}.1%{?ext_man} + +%files bash-completion +%{_datadir}/bash-completion/completions/%{name} %files zsh-completion -%config %{_sysconfdir}/zsh_completion.d/_vcsh +%dir %{_datadir}/zsh +%dir %{_datadir}/zsh/site-functions +%{_datadir}/zsh/site-functions/_vcsh
