Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package pluto for openSUSE:Factory checked 
in at 2022-12-12 17:40:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pluto (Old)
 and      /work/SRC/openSUSE:Factory/.pluto.new.1835 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pluto"

Mon Dec 12 17:40:11 2022 rev:20 rq:1042364 version:5.11.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/pluto/pluto.changes      2022-11-15 
13:21:49.744925773 +0100
+++ /work/SRC/openSUSE:Factory/.pluto.new.1835/pluto.changes    2022-12-12 
17:42:18.273997103 +0100
@@ -1,0 +2,5 @@
+Mon Dec 12 12:23:50 UTC 2022 - Robert Munteanu <romb...@apache.org>
+
+- Install completions 
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ pluto.spec ++++++
--- /var/tmp/diff_new_pack.IvE8RB/_old  2022-12-12 17:42:18.713999577 +0100
+++ /var/tmp/diff_new_pack.IvE8RB/_new  2022-12-12 17:42:18.721999622 +0100
@@ -31,6 +31,33 @@
 %description
 Pluto is a utility to help users find deprecated Kubernetes apiVersions in 
their code repositories and their helm releases.
 
+%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
 %setup -q -T -D -a 1
@@ -45,10 +72,32 @@
 %install
 # Install the binary.
 install -D -m 0755 ./bin/%{name} "%{buildroot}/%{_bindir}/%{name}"
+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
 %license LICENSE
 %{_bindir}/%{name}
 
+%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