Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package velero for openSUSE:Factory checked 
in at 2022-01-31 22:57:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/velero (Old)
 and      /work/SRC/openSUSE:Factory/.velero.new.1898 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "velero"

Mon Jan 31 22:57:21 2022 rev:13 rq:950142 version:1.7.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/velero/velero.changes    2021-12-10 
21:52:53.746906117 +0100
+++ /work/SRC/openSUSE:Factory/.velero.new.1898/velero.changes  2022-01-31 
22:58:10.525236772 +0100
@@ -1,0 +2,5 @@
+Thu Jan 27 22:48:11 UTC 2022 - Robert Munteanu <[email protected]>
+
+- Added completion packages 
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ velero.spec ++++++
--- /var/tmp/diff_new_pack.vDtDHZ/_old  2022-01-31 22:58:11.089232974 +0100
+++ /var/tmp/diff_new_pack.vDtDHZ/_new  2022-01-31 22:58:11.093232947 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package velero
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -45,6 +45,33 @@
 %description velero-restic-restore-helper
 Restic restore helper for %{name}.
 
+%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}
+Requires:       %{name} = %{version}
+Supplements:    (%{name} and zsh)
+BuildArch:      noarch
+
+%description zsh-completion
+Zsh command line completion support for %{name}.
+
+%package fish-completion
+Summary:        Fish Completion for %{name}
+Requires:       %{name} = %{version}
+Supplements:    (%{name} and fish)
+BuildArch:      noarch
+
+%description fish-completion
+Fish command line completion support for %{name}.
+
 %prep
 %setup -q -a1
 
@@ -56,6 +83,12 @@
 
 %install
 %goinstall
+mkdir -p %{buildroot}%{_datarootdir}/bash-completion/completions
+%{buildroot}/%{_bindir}/%{name} completion bash > 
%{buildroot}%{_datarootdir}/bash-completion/completions/%{name}
+mkdir -p %{buildroot}%{_datarootdir}/zsh_completion.d
+%{buildroot}/%{_bindir}/%{name} completion zsh > 
%{buildroot}%{_datarootdir}/zsh_completion.d/_%{name}
+mkdir -p %{buildroot}%{_datadir}/fish/vendor_completions.d
+%{buildroot}/%{_bindir}/%{name} completion fish > 
%{buildroot}%{_datarootdir}/fish/vendor_completions.d/%{name}.fish
 
 %files
 %doc README.md
@@ -63,4 +96,20 @@
 %{_bindir}/velero
 %{_bindir}/velero-restic-restore-helper
 
+%files bash-completion
+%defattr(-,root,root)
+%dir %{_datarootdir}/bash-completion/completions/
+%{_datarootdir}/bash-completion/completions/%{name}
+
+%files zsh-completion
+%defattr(-,root,root)
+%dir %{_datarootdir}/zsh_completion.d/
+%{_datarootdir}/zsh_completion.d/_%{name}
+
+%files fish-completion
+%defattr(-,root,root)
+%dir %{_datarootdir}/fish
+%dir %{_datarootdir}/fish/vendor_completions.d
+%{_datarootdir}/fish/vendor_completions.d/%{name}.fish
+
 %changelog

Reply via email to