Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kubie for openSUSE:Factory checked 
in at 2022-02-21 17:46:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kubie (Old)
 and      /work/SRC/openSUSE:Factory/.kubie.new.1958 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kubie"

Mon Feb 21 17:46:10 2022 rev:5 rq:956048 version:0.16.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kubie/kubie.changes      2021-12-13 
20:50:42.420646843 +0100
+++ /work/SRC/openSUSE:Factory/.kubie.new.1958/kubie.changes    2022-02-21 
17:46:44.311596500 +0100
@@ -1,0 +2,5 @@
+Thu Feb 17 17:38:09 UTC 2022 - Johannes Kastl <[email protected]>
+
+- add subpackages for kubie bash-completion and fish-completion
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ kubie.spec ++++++
--- /var/tmp/diff_new_pack.grlAQq/_old  2022-02-21 17:46:44.927596683 +0100
+++ /var/tmp/diff_new_pack.grlAQq/_new  2022-02-21 17:46:44.931596684 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package kubie
 #
-# 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
@@ -38,6 +38,26 @@
 multiple files. You can configure the paths where kubie will look for
 contexts, see the settings section.
 
+%package -n %{name}-bash-completion
+Summary:        Bash Completion for %{name}
+Group:          System/Shells
+Requires:       %{name} = %{version}
+Supplements:    (%{name} and bash-completion)
+BuildArch:      noarch
+
+%description -n %{name}-bash-completion
+Bash command line completion support for %{name}.
+
+%package -n %{name}-fish-completion
+Summary:        Fish Completion for %{name}
+Group:          System/Shells
+Requires:       %{name} = %{version}
+Supplements:    (%{name} and fish)
+BuildArch:      noarch
+
+%description -n %{name}-fish-completion
+Fish command line completion support for %{name}.
+
 %prep
 %autosetup -a1
 
@@ -50,6 +70,12 @@
 %install
 RUSTFLAGS=%{rustflags} cargo install --root=%{buildroot}%{_prefix} --path .
 
+# copy bash completion file
+install -D -m 644 ./completion/kubie.bash 
%{buildroot}%{_datarootdir}/bash-completion/completions/%{name}
+
+# copy fish completion file
+install -D -m 644 ./completion/kubie.fish 
%{buildroot}%{_datarootdir}/fish/vendor_completions.d/%{name}.fish
+
 # remove residue crate files
 rm %{buildroot}%{_prefix}/.crates.toml
 rm -f %{buildroot}%{_prefix}/.crates2.json
@@ -58,4 +84,13 @@
 %license LICENSE
 %{_bindir}/%{name}
 
+%files -n %{name}-bash-completion
+%dir %{_datarootdir}/bash-completion/completions/
+%{_datarootdir}/bash-completion/completions/%{name}
+
+%files -n %{name}-fish-completion
+%dir %{_datarootdir}/fish
+%dir %{_datarootdir}/fish/vendor_completions.d
+%{_datarootdir}/fish/vendor_completions.d/%{name}.fish
+
 %changelog

Reply via email to