diff --git a/_service b/_service
index 133a7cc..d9c39d3 100644
--- a/_service
+++ b/_service
@@ -1,5 +1,5 @@
-
+
https://github.com/GoogleContainerTools/skaffold
git
.git
@@ -11,11 +11,11 @@
skaffold
-
+
+
*.tar
gz
- skaffold-2.2.0.tar.gz
diff --git a/skaffold-2.2.0.obscpio b/skaffold-2.2.0.obscpio
new file mode 100644
index 0000000..0977c97
--- /dev/null
+++ b/skaffold-2.2.0.obscpio
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ed006b602dabc6accf2695ddb0431c1907a3a7aa8d3d3d55ff8cd9175a031c91
+size 82194446
diff --git a/skaffold-2.2.0.tar.gz b/skaffold-2.2.0.tar.gz
deleted file mode 100644
index d2321cb..0000000
--- a/skaffold-2.2.0.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:c42ff1797e89b71cac390b96c566640e693a4e8ad6184ffd2ad7e32085dbf87e
-size 42204857
diff --git a/skaffold.changes b/skaffold.changes
index b3fc062..e7ef42f 100644
--- a/skaffold.changes
+++ b/skaffold.changes
@@ -1,3 +1,8 @@
+-------------------------------------------------------------------
+Tue Mar 28 06:12:57 UTC 2023 - Johannes Kastl
+
+- add subpackages for shell completions
+
-------------------------------------------------------------------
Tue Mar 07 05:45:17 UTC 2023 - kastl@b1-systems.de
diff --git a/skaffold.obsinfo b/skaffold.obsinfo
new file mode 100644
index 0000000..992aade
--- /dev/null
+++ b/skaffold.obsinfo
@@ -0,0 +1,4 @@
+name: skaffold
+version: 2.2.0
+mtime: 1678137202
+commit: bfc52e41ca7fbeac8a9f1da681118d14e197d6d4
diff --git a/skaffold.spec b/skaffold.spec
index cd9ff69..0f087fd 100644
--- a/skaffold.spec
+++ b/skaffold.spec
@@ -31,6 +31,36 @@ BuildRequires: go >= 1.17
%description
Skaffold is a command line tool that facilitates continuous development for Kubernetes applications. You can iterate on your application source code locally then deploy to local or remote Kubernetes clusters. Skaffold handles the workflow for building, pushing and deploying your application. It also provides building blocks and describe customizations for a CI/CD pipeline.
+%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}.
+
+%package -n %{name}-zsh-completion
+Summary: Zsh Completion for %{name}
+Group: System/Shells
+Requires: %{name} = %{version}
+Supplements: (%{name} and zsh)
+BuildArch: noarch
+
+%description -n %{name}-zsh-completion
+zsh command line completion support for %{name}.
+
%prep
%setup -q
%setup -q -T -D -a 1
@@ -48,9 +78,35 @@ go build \
# Install the binary.
install -D -m 0755 bin/%{name} "%{buildroot}/%{_bindir}/%{name}"
+# create the bash completion file
+mkdir -p %{buildroot}%{_datarootdir}/bash-completion/completions/
+%{buildroot}/%{_bindir}/%{name} completion bash > %{buildroot}%{_datarootdir}/bash-completion/completions/%{name}
+
+# create the fish completion file
+mkdir -p %{buildroot}%{_datarootdir}/fish/vendor_completions.d/
+%{buildroot}/%{_bindir}/%{name} completion fish > %{buildroot}%{_datarootdir}/fish/vendor_completions.d/%{name}.fish
+
+# create the zsh completion file
+mkdir -p %{buildroot}%{_datarootdir}/zsh_completion.d/
+%{buildroot}/%{_bindir}/%{name} completion zsh > %{buildroot}%{_datarootdir}/zsh_completion.d/_%{name}
+
%files
%doc README.md
%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
+
+%files -n %{name}-zsh-completion
+%defattr(-,root,root)
+%dir %{_datarootdir}/zsh_completion.d/
+%{_datarootdir}/zsh_completion.d/_%{name}
+
%changelog
diff --git a/vendor.tar.gz b/vendor.tar.gz
index aca81fa..307546b 100644
--- a/vendor.tar.gz
+++ b/vendor.tar.gz
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:935bad421e27c2b8c33fd33922ab33b74b5844f35eb70c28caa666acc4362b71
-size 17616276
+oid sha256:0d89178e2d1d1c8f73b4c5df51877d546ccf704fe847f0a10ccd6de3af4bccc2
+size 17615196